chore(build): use v prefixed release versions (#858, #806) (#942)

This commit is contained in:
Dimitri Herzog 2023-03-26 11:33:27 +02:00 committed by GitHub
parent d1988a413d
commit a37861b756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ builds:
- goos: windows
goarch: arm64
ldflags:
- -w -s -X github.com/0xERR0R/blocky/util.Version={{.Version}} -X github.com/0xERR0R/blocky/util.BuildTime={{time "20060102-150405"}}
- -w -s -X github.com/0xERR0R/blocky/util.Version=v{{.Version}} -X github.com/0xERR0R/blocky/util.BuildTime={{time "20060102-150405"}}
release:
draft: true
archives:
@ -32,7 +32,7 @@ archives:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{ .ProjectName }}_v
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
@ -41,7 +41,7 @@ archives:
{{- if .Arm }}v{{ .Arm }}{{ end }}
snapshot:
name_template: "{{ .Tag }}-{{.ShortCommit}}"
name_template: "{{ .Version }}-{{.ShortCommit}}"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
changelog: