Skip to content

Commit

Permalink
goreleaser: add v back into release names
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Nov 23, 2020
1 parent 95492f9 commit a1d7cbd
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 @@ -31,7 +31,7 @@ builds:
- goos: windows
goarch: arm64
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X
- "-s -w -X main.version=v{{.Version}} -X main.commit={{.Commit}} -X
main.date={{.CommitDate}} -X main.builtBy=goreleaser"
mod_timestamp: "{{.CommitTimestamp}}"
flags: -trimpath
Expand All @@ -41,7 +41,7 @@ archives:
- jlog
format: binary
wrap_in_directory: false
name_template: "jlog_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name_template: "jlog_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -60,7 +60,7 @@ release:
- jlog
draft: true
prerelease: auto
name_template: "jlog {{.Version}}"
name_template: "jlog v{{.Version}}"
disable: false
source:
enabled: false

0 comments on commit a1d7cbd

Please sign in to comment.