diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57c9669..4b649c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -247,9 +247,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