Skip to content

Commit

Permalink
Fix Goreleaser config file after v2 upgrade (#15)
Browse files Browse the repository at this point in the history
```
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
  • Loading branch information
achellouche authored Jul 1, 2024
2 parents 8521a2b + 208350a commit 4bd5d75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
Expand Down

0 comments on commit 4bd5d75

Please sign in to comment.