2019-07-08 14:51:44 +02:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2019-07-12 10:20:44 +02:00
|
|
|
- CGO_ENABLED=0
|
2019-07-12 11:51:30 +02:00
|
|
|
- RELEASE_BUILDS=dist/listmonk_darwin_amd64/listmonk dist/listmonk_linux_amd64/listmonk dist/listmonk_windows_amd64/listmonk.exe
|
2019-07-08 14:51:44 +02:00
|
|
|
|
|
|
|
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 07:54:43 +02:00
|
|
|
- INSTALL.md
|
2019-07-08 14:51:44 +02:00
|
|
|
- LICENSE
|
2019-07-12 03:54:33 +02:00
|
|
|
dockers:
|
|
|
|
-
|
|
|
|
goos: linux
|
|
|
|
goarch: amd64
|
|
|
|
binaries:
|
|
|
|
- listmonk
|
|
|
|
image_templates:
|
2019-07-12 10:20:44 +02:00
|
|
|
- "listmonk/listmonk:latest"
|
|
|
|
- "listmonk/listmonk:{{ .Tag }}"
|
2019-07-12 03:54:33 +02:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
extra_files:
|
|
|
|
- config.toml.sample
|
2020-07-08 19:08:31 +02:00
|
|
|
- config-demo.toml
|