fix goreleaser

This commit is contained in:
Liam Galvin 2021-07-30 23:40:41 +01:00
parent e60a0b0427
commit a15ec9b335
1 changed files with 1 additions and 2 deletions

View File

@ -4,9 +4,8 @@ builds:
main: ./cmd/darktile main: ./cmd/darktile
binary: darktile binary: darktile
ldflags: ldflags:
- "-X github.com/liamg/darktile/internal/app/darktile/version.Version={{.Version}} -s -w -extldflags '-fno-PIC -static'" - "-X github.com/liamg/darktile/internal/app/darktile/version.Version={{.Version}}"
env: env:
- CGO_ENABLED=0
- GOFLAGS=-mod=vendor - GOFLAGS=-mod=vendor
goos: goos:
- linux - linux