File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ jobs:
130
130
go-version : 1.24.x
131
131
132
132
- name : Run goreleaser
133
- uses : goreleaser/goreleaser-action@v4
133
+ uses : goreleaser/goreleaser-action@v6
134
134
with :
135
135
distribution : goreleaser
136
- version : v1.17.2
136
+ version : v2
137
137
args : release --clean
138
138
env :
139
139
GITHUB_TOKEN : ${{secrets.GITHUB_API_TOKEN}}
Original file line number Diff line number Diff line change 1
- # This is an example goreleaser.yaml file with some sane defaults.
2
- # Make sure to check the documentation at http://goreleaser.com
1
+ version : 2
2
+
3
3
builds :
4
4
- env :
5
5
- CGO_ENABLED=0
@@ -18,26 +18,28 @@ builds:
18
18
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease
19
19
20
20
archives :
21
- - replacements :
22
- darwin : Darwin
23
- linux : Linux
24
- windows : Windows
25
- 386 : 32-bit
26
- amd64 : x86_64
21
+ - name_template : >-
22
+ {{- .ProjectName }}_
23
+ {{- .Version }}_
24
+ {{- .Os }}_
25
+ {{- if eq .Arch "amd64" }}x86_64
26
+ {{- else if eq .Arch "386" }}32-bit
27
+ {{- else if eq .Arch "arm" }}armv6
28
+ {{- else }}{{ .Arch }}{{ end }}
27
29
format_overrides:
28
30
- goos: windows
29
- format : zip
31
+ formats: [ zip ]
30
32
checksum :
31
33
name_template : ' checksums.txt'
32
34
snapshot :
33
- name_template : ' {{ .Tag }}-next'
35
+ version_template : ' {{ .Tag }}-next'
34
36
changelog :
35
37
use : github-native
36
38
sort : asc
37
39
brews :
38
40
-
39
41
# Repository to push the tap to.
40
- tap :
42
+ repository :
41
43
owner : jesseduffield
42
44
name : homebrew-lazygit
43
45
You can’t perform that action at this time.
0 commit comments