go_study/fabric-main/vendor/github.com/mmcloughlin/addchain/.goreleaser.yml

29 lines
473 B
YAML

before:
hooks:
- go mod tidy
builds:
- main: ./cmd/addchain
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/mmcloughlin/addchain/meta.buildversion={{ .Version }}
archives:
- format_overrides:
- goos: windows
format: zip
files:
- LICENSE*
- CITATION*
- README*
release:
draft: true
prerelease: auto