summaryrefslogtreecommitdiff
path: root/.goreleaser.yml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yml')
-rw-r--r--.goreleaser.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index cfa465d..50cafc7 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -7,12 +7,14 @@ before:
builds:
- env:
- CGO_ENABLED=1
- ldflags:
- - -s -w -X main.version={{.Version}} -X main.build={{.Env.BUILD}}
goos:
- linux
goarch:
- amd64
+ flags:
+ - -buildmode=pie
+ - -trimpath
+ - -v
archives:
- replacements:
linux: Linux
@@ -38,7 +40,7 @@ nfpms:
- libsqlite3-0
- adduser
priority: optional
- bindir: /src/cacert-boardvoting
+ bindir: /srv/cacert-boardvoting
contents:
- src: config.yaml.example
dst: /usr/share/doc/cacert-boardvoting/examples/config.yaml.example