Skip to content

Commit

Permalink
Add build flags to CLI (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok authored Jul 14, 2023
1 parent a1c420d commit 17cc788
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ builds:
-X github.com/kubeshop/botkube/cmd/cli/cmd/migrate.DefaultImageTag={{ .Env.IMAGE_TAG }}
-X go.szostok.io/version.version={{.Version}}
-X go.szostok.io/version.buildDate={{.Date}}
- -X go.szostok.io/version.commit={{.FullCommit}}
- -X go.szostok.io/version.commitDate={{.CommitDate}}
-X go.szostok.io/version.name=botkube
env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 17cc788

Please sign in to comment.