listmonk/.goreleaser.yml

43 lines
840 B
YAML
Raw Normal View History

env:
- GO111MODULE=on
2019-07-12 08:20:44 +00:00
- CGO_ENABLED=0
- RELEASE_BUILDS=dist/listmonk_darwin_amd64/listmonk dist/listmonk_linux_amd64/listmonk dist/listmonk_windows_amd64/listmonk.exe
before:
hooks:
- make build-frontend
builds:
- binary: listmonk
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags:
- -s -w -X "main.buildString={{ .Tag }} ({{ .ShortCommit }} {{ .Date }})"
hooks:
# stuff executables with static assets.
post: make pack-releases
archives:
- format: tar.gz
files:
- README.md
2019-07-12 05:54:43 +00:00
- INSTALL.md
- LICENSE
dockers:
-
goos: linux
goarch: amd64
binaries:
- listmonk
image_templates:
2019-07-12 08:20:44 +00:00
- "listmonk/listmonk:latest"
- "listmonk/listmonk:{{ .Tag }}"
dockerfile: Dockerfile
extra_files:
- config.toml.sample