shot of post - πŸ’­ python-build-standalone/.github/workflows/release.yml at main ...

Here's my thought on πŸ’­ python-build-standalone/.github/workflows/release.yml at main ...


Astral uses just in CI, kinda cool to stumble into this setup in the wild.

run: just release-run ${{ secrets.GITHUB_TOKEN }} ${{ github.event.inputs.sha }} ${{ github.event.inputs.tag }}

And her is the accompanying justfile. you can see how it accepts arguments, and starts calling out to other just recipes.

release-run token commit tag:
  #!/bin/bash
  set -eo pipefail

rm -rf dist just release-download-distributions {{token}} {{commit}} datetime=$(ls dist/cpython-3.10.-x86_64-unknown-linux-gnu-install_only-.tar.gz | awk -F- '{print $8}' | awk -F. '{print $1}') just release-upload-distributions {{token}} ${datetime} {{tag}} just release-set-latest-release {{tag}}


!!! note This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process [[ thoughts ]]

{.text-opacity-80} This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts