diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index aadd87f1d..4400850da 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -22,8 +22,6 @@ jobs: check-latest: true - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 - env: - GORELEASER_PREVIOUS_TAG: v1.17.1 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser @@ -31,3 +29,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_PREVIOUS_TAG: v1.17.1