mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
update goreleases: release 2 binaries
This commit is contained in:
+47
-15
@@ -9,28 +9,60 @@ before:
|
|||||||
hooks:
|
hooks:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
|
||||||
|
report_sizes: true
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- id: uncloud
|
||||||
|
main: ./cmd/uncloud
|
||||||
|
binary: uncloud
|
||||||
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
- linux
|
- linux
|
||||||
#- windows
|
#- windows
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
|
|
||||||
#archives:
|
- id: uncloudd
|
||||||
# - format: tar.gz
|
main: ./cmd/uncloudd
|
||||||
# # this name template makes the OS and Arch compatible with the results of `uname`.
|
binary: uncloudd
|
||||||
# name_template: >-
|
env:
|
||||||
# {{ .ProjectName }}_
|
- CGO_ENABLED=0
|
||||||
# {{- title .Os }}_
|
goos:
|
||||||
# {{- if eq .Arch "amd64" }}x86_64
|
- linux
|
||||||
# {{- else if eq .Arch "386" }}i386
|
goarch:
|
||||||
# {{- else }}{{ .Arch }}{{ end }}
|
- amd64
|
||||||
# {{- if .Arm }}v{{ .Arm }}{{ end }}
|
- arm64
|
||||||
# # use zip for windows archives
|
|
||||||
# format_overrides:
|
archives:
|
||||||
# - goos: windows
|
- id: uncloud
|
||||||
# format: zip
|
builds:
|
||||||
|
- uncloud
|
||||||
|
format: gz
|
||||||
|
name_template: >-
|
||||||
|
{{ .Binary }}_
|
||||||
|
{{- if eq .Os "darwin"}}macos
|
||||||
|
{{- else}}{{.Os}}{{end}}_
|
||||||
|
{{- .Arch }}"
|
||||||
|
# use zip for windows archives
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
|
files:
|
||||||
|
- none*
|
||||||
|
|
||||||
|
- id: uncloudd
|
||||||
|
builds:
|
||||||
|
- uncloudd
|
||||||
|
format: gz
|
||||||
|
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
files:
|
||||||
|
- none*
|
||||||
|
|
||||||
|
checksum:
|
||||||
|
name_template: "checksums.txt"
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
|
|||||||
Reference in New Issue
Block a user