2019-08-14 01:10:28 +01:00
|
|
|
---
|
|
|
|
project_name: pominal
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
|
|
|
builds:
|
|
|
|
- binary: pominal
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
flags:
|
|
|
|
- -a
|
|
|
|
- -v
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
id: pominal-build
|
|
|
|
ldflags:
|
2019-08-14 20:07:27 +01:00
|
|
|
- "-s -w -X main.version={{ .Version }} -X main.commit={{ .ShortCommit }} -X main.date={{ .Date }} -X main.goversion={{ .Env.GOVERSION }}"
|
2019-08-14 01:10:28 +01:00
|
|
|
|
|
|
|
archives:
|
|
|
|
- files:
|
|
|
|
- LICENSE
|
|
|
|
- README.md
|
|
|
|
format: tar.gz
|
|
|
|
id: pominal-archive
|
|
|
|
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
|
|
replacements:
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
wrap_in_directory: true
|
|
|
|
|
|
|
|
checksum:
|
|
|
|
algorithm: sha256
|
|
|
|
name_template: "{{ .ProjectName }}-{{ .Version }}-CHECKSUMS.txt"
|
|
|
|
|
|
|
|
snapshot:
|
|
|
|
name_template: "SNAPSHOT-{{ .ShortCommit }}"
|
|
|
|
|
|
|
|
changelog:
|
|
|
|
sort: desc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- "^docs:"
|
|
|
|
- "^test:"
|
|
|
|
- "^chore:"
|
|
|
|
- "^ci:"
|