Skip to content

Commit d7d1407

Browse files
authored
update goreleaser config (#407)
The older goreleaser config is no longer supported. ``` GoReleaser latest installed successfully /opt/hostedtoolcache/goreleaser-action/2.3.2/x64/goreleaser release --clean • 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.3.2/x64/goreleaser' failed with exit code 1 ```
1 parent ac70083 commit d7d1407

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ website/vendor
3939
*.winfile eol=crlf
4040

4141
terraform-provider-astra
42+
43+
dist/

.goreleaser.yml renamed to .goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3+
version: 2
4+
35
before:
46
hooks:
57
# this is just an example and not a requirement for provider building/publishing
@@ -47,8 +49,8 @@ signs:
4749
- "${signature}"
4850
- "--detach-sign"
4951
- "${artifact}"
50-
release:
52+
release: {}
5153
# If you want to manually examine the release before its live, uncomment this line:
5254
# draft: true
5355
changelog:
54-
skip: true
56+
disable: true

0 commit comments

Comments
 (0)