Initial commit
This commit is contained in:
25
.goreleaser.yaml
Normal file
25
.goreleaser.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
targets:
|
||||
- linux_amd64
|
||||
- linux_arm64
|
||||
- darwin_amd64
|
||||
- darwin_arm64
|
||||
- linux_arm
|
||||
- windows_amd64
|
||||
main: main.go
|
||||
ldflags:
|
||||
- -extldflags '-static'
|
||||
- -s -w -X hub.cybercinch.nz/guisea/go-template/internal/app/meta.Version={{.Version}}
|
||||
|
||||
gitea_urls:
|
||||
api: https://hub.cybercinch.nz/api/v1
|
||||
download: https://hub.cybercinch.nz
|
||||
|
||||
archives:
|
||||
- format: binary
|
||||
name_template: '{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}'
|
||||
|
||||
checksum:
|
||||
name_template: '{{ .ProjectName }}_v{{ .Version }}_checksums.txt'
|
||||
Reference in New Issue
Block a user