From 67828e0e4ff6ea9ffd52a485b18b006957ee0cb8 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Wed, 3 Mar 2021 14:40:15 +0100 Subject: [PATCH] fixes version build tags --- .goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index fee3902..996d584 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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