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:
130130 go-version : 1.24.x
131131
132132 - name : Run goreleaser
133- uses : goreleaser/goreleaser-action@v4
133+ uses : goreleaser/goreleaser-action@v6
134134 with :
135135 distribution : goreleaser
136- version : v1.17.2
136+ version : v2
137137 args : release --clean
138138 env :
139139 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+
33builds :
44 - env :
55 - CGO_ENABLED=0
@@ -18,26 +18,28 @@ builds:
1818 - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease
1919
2020archives :
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 }}
2729 format_overrides:
2830 - goos: windows
29- format : zip
31+ formats: [ zip ]
3032checksum :
3133 name_template : ' checksums.txt'
3234snapshot :
33- name_template : ' {{ .Tag }}-next'
35+ version_template : ' {{ .Tag }}-next'
3436changelog :
3537 use : github-native
3638 sort : asc
3739brews :
3840 -
3941 # Repository to push the tap to.
40- tap :
42+ repository :
4143 owner : jesseduffield
4244 name : homebrew-lazygit
4345
You can’t perform that action at this time.
0 commit comments