diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index cc9d431..90d70ed 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -31,6 +31,11 @@ jobs: steps: - name: Checkout uses: https://code.forgejo.org/actions/checkout@v4 + with: + # A tag push builds that tag; a manual dispatch builds the tag the + # caller named (otherwise the binary version would not match the + # release it is attached to). + ref: ${{ github.event.inputs.tag || github.ref_name }} - name: Build ${{ env.TARGET }} in a rust container run: |