File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 go-version : ' >=1.19.5'
2323 cache : true
24- - run : sudo apt install upx -y
2524 - uses : goreleaser/goreleaser-action@v4
2625 with :
2726 distribution : goreleaser
Original file line number Diff line number Diff line change @@ -18,19 +18,20 @@ builds:
1818 - arm64
1919 hooks :
2020 post :
21- - upx "{{ .Path }}"
21+ # - upx "{{ .Path }}"
2222
2323archives :
2424 - id : " giserver"
2525 builds :
2626 - " giserver"
2727 format : binary
28- replacements :
29- darwin : Darwin
30- linux : Linux
31- windows : Windows
32- 386 : i386
33- amd64 : x86_64
28+ name_template : >-
29+ "giserver"_
30+ {{- title .Os }}_
31+ {{- if eq .Arch "amd64" }}x86_64
32+ {{- else if eq .Arch "386" }}i386
33+ {{- else }}{{ .Arch }}{{ end }}
34+
3435checksum :
3536 name_template : ' checksums.txt'
3637snapshot :
You can’t perform that action at this time.
0 commit comments