fixes version build tags
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b73cbaaa3e
commit
67828e0e4f
@ -2,16 +2,16 @@
|
|||||||
project_name: fortlit
|
project_name: fortlit
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- binary: revive
|
- binary: fortlit
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
ldflags:
|
ldflags:
|
||||||
- "-s"
|
- "-s"
|
||||||
- "-w"
|
- "-w"
|
||||||
- "-extldflags '-static'"
|
- "-extldflags '-static'"
|
||||||
- "-X gitlab.com/wobcom/iot/revive/cmd.version={{.Version}}"
|
- "-X main.version={{.Version}}"
|
||||||
- "-X gitlab.com/wobcom/iot/revive/cmd.commit={{.ShortCommit}}"
|
- "-X main.commit={{.ShortCommit}}"
|
||||||
- "-X gitlab.com/wobcom/iot/revive/cmd.date={{.Date}}"
|
- "-X main.date={{.Date}}"
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- 386
|
||||||
- amd64
|
- amd64
|
||||||
|
Loading…
Reference in New Issue
Block a user