|
@@ -8,7 +8,7 @@ builds:
|
|
- CGO_ENABLED=0
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
ldflags:
|
|
- -s -w
|
|
- -s -w
|
|
- - -X main.VERSION={{.Version}}{{ if index .Env "DRONE_BUILD_NUMBER" }}-{{ .Env.DRONE_BUILD_NUMBER }}{{ end }}
|
|
|
|
|
|
+ - -X main.VERSION={{.Version}}
|
|
- -X main.gitVersion={{.ShortCommit}}
|
|
- -X main.gitVersion={{.ShortCommit}}
|
|
- -X main.buildTime={{.Date}}
|
|
- -X main.buildTime={{.Date}}
|
|
|
|
|