diff options
author | Jan Dittberner <jandd@cacert.org> | 2021-04-14 19:02:44 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2021-04-14 19:02:44 +0200 |
commit | 975f3c083793d07d01e4c1b25d24a69da0cf74e0 (patch) | |
tree | 7d9c6feb4262d048469f50c8c1b934d109a00c7a /.goreleaser.yml | |
parent | 4d87e35ec2eeb740853e8ae79a4cc5c9f565cd08 (diff) | |
download | cacert-boardvoting-975f3c083793d07d01e4c1b25d24a69da0cf74e0.tar.gz cacert-boardvoting-975f3c083793d07d01e4c1b25d24a69da0cf74e0.tar.xz cacert-boardvoting-975f3c083793d07d01e4c1b25d24a69da0cf74e0.zip |
Adapt Makefile and boardvoting.go to new ldflags
Diffstat (limited to '.goreleaser.yml')
-rw-r--r-- | .goreleaser.yml | 8 |
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 |