initialize goreleaser for release automation
parent
45710bef37
commit
b0607eb095
@ -0,0 +1,37 @@
|
|||||||
|
# TODO add homebrew packagin
|
||||||
|
# TODO add Ubuntu packaging
|
||||||
|
# TODO add github integration
|
||||||
|
before:
|
||||||
|
hooks:
|
||||||
|
# You may remove this if you don't use go modules.
|
||||||
|
- go mod download
|
||||||
|
# you may remove this if you don't need go generate
|
||||||
|
- go generate ./...
|
||||||
|
builds:
|
||||||
|
- env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
- darwin
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
main: ./cmd/fastgallery/main.go
|
||||||
|
binary: ./bin/fastgallery
|
||||||
|
archives:
|
||||||
|
- replacements:
|
||||||
|
darwin: macOS
|
||||||
|
linux: Linux
|
||||||
|
# windows: Windows
|
||||||
|
#386: i386
|
||||||
|
amd64: x86_64
|
||||||
|
wrap_in_directory: true
|
||||||
|
checksum:
|
||||||
|
name_template: 'checksums.txt'
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ .Tag }}-next"
|
||||||
|
changelog:
|
||||||
|
sort: asc
|
||||||
|
filters:
|
||||||
|
exclude:
|
||||||
|
- '^docs:'
|
||||||
|
- '^test:'
|
Loading…
Reference in New Issue