fix: ldflags

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias
2019-05-12 20:11:43 +01:00
parent e022bad4bd
commit 552c72987d
+5 -1
View File
@@ -9,7 +9,7 @@ build:
main: main.go
binary: webdav
ldflags:
- -s -w X github.com/hacdias/webdav/cmd.version={{.Version}}
- -s -w -X github.com/hacdias/webdav/cmd.version={{.Version}}
goos:
- darwin
- linux
@@ -22,6 +22,10 @@ build:
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
ignore:
- goos: openbsd
goarch: arm