cdglab/.goreleaser.yml
cdryzun 9eb894853b
All checks were successful
Release / release (push) Successful in 2m33s
fix: version date
2023-12-23 22:32:29 +08:00

35 lines
719 B
YAML

# Goreleaser configuration
# for building binaries and packages for distributions and releasing on github
gitea_urls:
api: https://git.treesir.pub/api/v1
download: https://git.treesir.pub
# set to true if you use a self-signed certificate
skip_tls_verify: false
dist: bin
builds:
- binary: cdglab
env:
- CGO_ENABLED=0
main: main.go
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
goos:
- darwin
- linux
- windows
- freebsd
goarch:
- amd64
ignore:
- goos: darwin
goarch: 386
archives:
-
format_overrides:
- goos: windows
format: zip
files:
- LICENSE