Skip to content

Commit

Permalink
chore(build): use v prefixed release versions (#858, #806) (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xERR0R authored Mar 26, 2023
1 parent d1988a4 commit a37861b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ 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:
- format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{ .ProjectName }}_v
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
Expand All @@ -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:
Expand Down

0 comments on commit a37861b

Please sign in to comment.