This commit is contained in:
18
.goreleaser.yml
Normal file
18
.goreleaser.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
before:
|
||||
# we don't want this in the CI environment
|
||||
#hooks:
|
||||
# - go mod tidy
|
||||
# - go generate ./...
|
||||
builds:
|
||||
- main: ./
|
||||
id: data-api
|
||||
binary: data-api
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -X go.ntppool.org/common/version.VERSION={{.Version}}
|
||||
Reference in New Issue
Block a user