πŸ’­ python-build-standalone/.github/workflows/release.yml at main ... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://github.com/astral-sh/python-build-standalone/blob/main/.github/workflows/release.yml Date: February 17, 2025 Image: https://github.com/astral-sh/python-build-standalone/blob/main/.github/workflows/release.yml 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 #thoughts