File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33GO_STR_VERSION=" $( echo " ${GO_STR_VERSION} " | circleci env subst) "
44
5- go install github.com/goreleaser/goreleaser@" ${GO_STR_VERSION} "
6- goreleaser --version
5+ go install github.com/goreleaser/goreleaser/v2 @" ${GO_STR_VERSION} "
6+ goreleaser --version
Original file line number Diff line number Diff line change 11# This is an example .goreleaser.yml file with some sensible defaults.
22# Make sure to check the documentation at https://goreleaser.com
33
4- # The lines bellow are called `modelines`. See `:help modeline`
4+ # The lines below are called `modelines`. See `:help modeline`
55# Feel free to remove those if you don't want/need to use them.
66# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
77# vim: set ts=2 sw=2 tw=0 fo=cnqoj
88
9+ version : 2
10+
911before :
1012 hooks :
1113 # You may remove this if you don't use go modules.
@@ -22,7 +24,7 @@ builds:
2224 - darwin
2325
2426archives :
25- - format : tar.gz
27+ - formats : [ tar.gz]
2628 # this name template makes the OS and Arch compatible with the results of `uname`.
2729 name_template : >-
2830 {{ .ProjectName }}_
@@ -34,7 +36,7 @@ archives:
3436 # use zip for windows archives
3537 format_overrides :
3638 - goos : windows
37- format : zip
39+ formats : [ zip]
3840
3941changelog :
4042 sort : asc
You can’t perform that action at this time.
0 commit comments