Skip to content

Commit ad8f953

Browse files
committed
chore: add support for overriding GORELEASER_VERSION
1 parent 8613900 commit ad8f953

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Run GoReleaser
3737
uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7.2.1
3838
with:
39-
version: "~> v2"
39+
version: "${{ vars.GORELEASER_VERSION || '~> v2' }}"
4040
args: release
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)