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