gohttpserver/.goreleaser.yml

45 lines
821 B
YAML
Raw Permalink Normal View History

2017-08-31 17:35:42 +02:00
project_name: gohttpserver
release:
github:
owner: codeskyblue
name: gohttpserver
brew:
2018-09-25 12:51:02 +02:00
github:
owner: codeskyblue
name: homebrew-tap
homepage: https://github.com/codeskyblue/gohttpserver
2017-08-31 17:35:42 +02:00
builds:
- goos:
- linux
- darwin
2017-09-11 06:55:24 +02:00
- windows
2017-08-31 17:35:42 +02:00
goarch:
- amd64
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X main.VERSION={{.Version}}
2018-09-25 08:35:41 +02:00
flags: -tags vfs
2017-08-31 17:35:42 +02:00
binary: gohttpserver
2018-09-25 08:35:41 +02:00
hooks:
pre: go generate .
2017-08-31 17:35:42 +02:00
archive:
2018-09-25 08:35:41 +02:00
format: zip
2017-08-31 17:35:42 +02:00
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
2017-09-11 07:22:13 +02:00
- .ghs.yml
2017-08-31 17:35:42 +02:00
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'