From 595d2ae1bfff312dc9c2f9427c3009a84605b3b6 Mon Sep 17 00:00:00 2001 From: Ilija Matoski Date: Mon, 6 Nov 2023 18:17:22 +0100 Subject: [PATCH] chore: fix goreleaser to add v to the version of the plugin as Vault expectes it with a v prefix --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e264aa6..ecf2d84 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,7 +7,7 @@ builds: - -trimpath ldflags: - '-s -w' - - "-X 'github.com/ilijamt/vault-plugin-secrets-gitlab.Version={{ .Version }}'" + - "-X 'github.com/ilijamt/vault-plugin-secrets-gitlab.Version=v{{ .Version }}'" - "-X 'github.com/ilijamt/vault-plugin-secrets-gitlab.FullCommit={{ .FullCommit }}'" - "-X 'github.com/ilijamt/vault-plugin-secrets-gitlab.BuildDate={{ .Date }}'" goos: