forked from knadh/listmonk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
42 lines (38 loc) · 840 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
env:
- GO111MODULE=on
- 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
- INSTALL.md
- LICENSE
dockers:
-
goos: linux
goarch: amd64
binaries:
- listmonk
image_templates:
- "listmonk/listmonk:latest"
- "listmonk/listmonk:{{ .Tag }}"
dockerfile: Dockerfile
extra_files:
- config.toml.sample