diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a849392..f29dcb2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -253,9 +253,12 @@ jobs: snap: needs: goreleaser runs-on: ubuntu-latest + env: + TAG: ${{ github.ref_name || inputs.tag }} steps: - uses: actions/checkout@v4 with: + ref: ${{ env.TAG }} fetch-depth: 0 - name: Build snap