Skip to content

Commit

Permalink
Remove quotation marks in goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
xaxys committed Apr 12, 2022
1 parent 8239e30 commit 44b7085
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

- id: darwin_arm64
env:
Expand All @@ -35,7 +35,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

- id: linux_amd64
env:
Expand All @@ -51,7 +51,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

- id: linux_arm64
env:
Expand All @@ -67,7 +67,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

- id: windows_i686
env:
Expand All @@ -83,7 +83,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

- id: windows_amd64
env:
Expand All @@ -99,7 +99,7 @@ builds:
- -X "main.BuildTags={{.Tag}}"
- -X "main.BuildTime={{.Date}}"
- -X "main.GitCommit={{.FullCommit}}"
- -X "main.GoVersion='{{.Env.GOVERSION}} {{.Os}}/{{.Arch}}'"
- -X "main.GoVersion={{.Env.GOVERSION}} {{.Os}}/{{.Arch}}"

archives:
- id: default
Expand All @@ -120,13 +120,19 @@ archives:
386: i386
686: i686
amd64: x86_64

checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ incpatch .Version }}-next"
name_template: "{{ incpatch .Version }}-shapshot"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

release:
prerelease: auto
mode: keep-existing

0 comments on commit 44b7085

Please sign in to comment.