initialize goreleaser for release automation

pull/3/head
Toni Melisma 3 years ago
parent 45710bef37
commit b0607eb095
No known key found for this signature in database
GPG Key ID: FFF9A7EDDEA34756

1
.gitignore vendored

@ -19,6 +19,7 @@
# Dependency directories (remove the comment below to include it)
vendor/
dist/
.env

@ -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…
Cancel
Save