Skip to content

Commit 4bd5d75

Browse files
authored
Fix Goreleaser config file after v2 upgrade (#15)
``` GoReleaser latest installed successfully v2.23.0 tag found for commit '8521a2b' /opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser release --clean • starting release... • only configurations files on version: 2 are supported, yours is version: 0, please update your configuration ⨯ release failed after 0s error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration Error: The process '/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser' failed with exit code 1 ``` see https://goreleaser.com/blog/goreleaser-v2/#upgrading
2 parents 8521a2b + 208350a commit 4bd5d75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3+
version: 2
34
before:
45
hooks:
56
# this is just an example and not a requirement for provider building/publishing

0 commit comments

Comments
 (0)