File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,4 +137,4 @@ jobs:
137137 uses : goreleaser/goreleaser-action@v4
138138 with :
139139 version : latest
140- args : release --snapshot --skip-publish --rm-dist
140+ args : release --snapshot --skip-publish --clean
Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ builds:
1111 - windows
1212
1313archives :
14- - name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
14+ - name_template : >-
15+ {{ .ProjectName }}_
16+ {{- title .Os }}_
17+ {{- if eq .Arch "amd64" }}x86_64
18+ {{- else if eq .Arch "386" }}i386
19+ {{- else }}{{ .Arch }}{{ end }}
1520 wrap_in_directory : true
16- replacements :
17- darwin : Darwin
18- linux : Linux
19- windows : Windows
20- 386 : i386
21- amd64 : x86_64
2221 format_overrides :
2322 - goos : windows
2423 format : zip
@@ -39,12 +38,12 @@ changelog:
3938nfpms :
4039 # note that this is an array of nfpm configs
4140 -
42- replacements :
43- darwin : Darwin
44- linux : Linux
45- windows : Windows
46- 386 : i386
47- amd64 : x86_64
41+ file_name_template : >-
42+ {{ .ProjectName }}_
43+ {{- title .Os }}_
44+ {{- if eq .Arch "amd64" }}x86_64
45+ {{- else if eq .Arch " 386" }} i386
46+ {{- else }}{{ .Arch }}{{ end }}
4847
4948 vendor : CYBERTEC PostgreSQL International GmbH
5049 homepage : https://www.cybertec-postgresql.com/en/products/pg_timetable/
You can’t perform that action at this time.
0 commit comments