2019-07-08 12:51:44 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
- 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:
|
|
|
|
- config.toml.sample
|
|
|
|
- README.md
|
|
|
|
- LICENSE
|
2019-07-12 01:54:33 +00:00
|
|
|
dockers:
|
|
|
|
-
|
|
|
|
goos: linux
|
|
|
|
goarch: amd64
|
|
|
|
binaries:
|
|
|
|
- listmonk
|
|
|
|
image_templates:
|
|
|
|
- "knadh/listmonk:latest"
|
|
|
|
- "knadh/listmonk:{{ .Tag }}"
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
extra_files:
|
|
|
|
- config.toml.sample
|