Skip to content

Commit

Permalink
chore: add version
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 committed Jul 2, 2024
1 parent 5cf40bb commit 30d47a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ before:
builds:
- env:
- CGO_ENABLED=0
ldflags: "-s -w -X main.version={{ .Version }}"
ldflags: "-s -w -X main.Version={{ .Version }}"
main: .
goos:
- linux
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ import (
"github.com/spf13/cast"
)

var Version = "v1.21.4"

// The special value for VAULT_ENV which marks that the login token needs to be passed through to the application
// which was acquired during the new Vault client creation
const vaultLogin = "vault:login"
Expand Down

0 comments on commit 30d47a3

Please sign in to comment.