File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ jobs:
139139 mkdir -p ~/bin
140140 installPath=~/bin
141141
142- dlURL="https://github.com/goreleaser/goreleaser/releases/download/v2.5.1 /goreleaser_Linux_x86_64.tar.gz"
142+ dlURL="https://github.com/goreleaser/goreleaser/releases/download/v2.8.2 /goreleaser_Linux_x86_64.tar.gz"
143143 curl -sSL $dlURL | tar -xz -C ${installPath} goreleaser
144144 - run :
145145 name : Check GoReleaser is install success
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ archives:
5353 - slack-macos
5454 format_overrides :
5555 - goos : windows
56- format : zip
56+ formats :
57+ - zip
5758 name_template : >-
5859 {{- .ProjectName }}_
5960 {{- .Env.BUILD_VERSION }}_
@@ -64,7 +65,7 @@ archives:
6465 {{- else }}{{ .Arch }}{{ end }}
6566
6667snapshot :
67- version_template : " {{.Env.BUILD_VERSION}}"
68+ version_template : " {{ .Env.BUILD_VERSION }}"
6869
6970release :
7071 disable : true
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ before:
2121 - go mod tidy -v
2222
2323builds :
24- - binary : bin/ slack
25- id : slack
24+ - id : slack
25+ binary : bin/ slack
2626 ldflags :
2727 - " {{.Env.LDFLAGS}}"
2828 env :
@@ -33,8 +33,8 @@ builds:
3333 goarch :
3434 - amd64
3535
36- - binary : bin/ slack
37- id : slack-macos
36+ - id : slack-macos
37+ binary : bin/ slack
3838 ldflags :
3939 - " {{.Env.LDFLAGS}}"
4040 goos :
@@ -48,12 +48,13 @@ builds:
4848 '
4949archives :
5050 - id : slack
51- builds :
51+ ids :
5252 - slack
5353 - slack-macos
5454 format_overrides :
5555 - goos : windows
56- format : zip
56+ formats :
57+ - zip
5758 files :
5859 - LICENSE
5960 name_template : >-
You can’t perform that action at this time.
0 commit comments