Skip to content

Commit c50f18b

Browse files
committed
Add 'v' prefix to project version in GoReleaser config
Signed-off-by: Martin Baillie <martin@baillie.id>
1 parent ffca1fe commit c50f18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ builds:
2525
- -extldflags -static
2626
- -X {{.ModulePath}}/github.projectName={{.ProjectName}}
2727
- -X {{.ModulePath}}/github.projectDocs=https://{{.ModulePath}}
28-
- -X {{.ModulePath}}/github.projectVersion={{.Version}}
28+
- -X {{.ModulePath}}/github.projectVersion=v{{.Version}}
2929
- -X github.com/prometheus/common/version.BuildDate={{.Date}}
3030
- -X github.com/prometheus/common/version.Revision={{.Commit}}
3131
- -X github.com/prometheus/common/version.Version={{.Version}}

0 commit comments

Comments
 (0)