fixes version build tags
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Marvin Steadfast 2021-03-03 14:40:15 +01:00
parent b73cbaaa3e
commit 67828e0e4f

View File

@ -2,16 +2,16 @@
project_name: fortlit
builds:
- binary: revive
- binary: fortlit
env:
- CGO_ENABLED=0
ldflags:
- "-s"
- "-w"
- "-extldflags '-static'"
- "-X gitlab.com/wobcom/iot/revive/cmd.version={{.Version}}"
- "-X gitlab.com/wobcom/iot/revive/cmd.commit={{.ShortCommit}}"
- "-X gitlab.com/wobcom/iot/revive/cmd.date={{.Date}}"
- "-X main.version={{.Version}}"
- "-X main.commit={{.ShortCommit}}"
- "-X main.date={{.Date}}"
goarch:
- 386
- amd64