Skip to content

Commit fed5fd7

Browse files
author
Test User
committed
fix: use GoReleaser v2 to support version 2 configuration
GoReleaser v1.x doesn't support version 2 configuration files. Changed from 'version: latest' (which installs v1.26.2) to 'version: v2' to install GoReleaser v2.x which supports the version 2 config format. This fixes the error: error=only configurations files on version: 1 are supported, yours is version: 2
1 parent 22d3e7a commit fed5fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: goreleaser/goreleaser-action@v5
3131
with:
3232
distribution: goreleaser
33-
version: latest
33+
version: v2
3434
args: release --clean
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)