Skip to content

Commit

Permalink
Merge pull request #2 from sevennt/feature/goreleaser
Browse files Browse the repository at this point in the history
builds
  • Loading branch information
sevennt authored Aug 30, 2021
2 parents db2099c + 7401f7d commit c39ffd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ builds:
- linux
- windows
- darwin
ldflags:
- -s -w -X {{.ModulePath}}/cmd/version.buildVersion={{.Version}} -X {{.ModulePath}}/cmd/version.buildGitVersion={{.Version}} -X {{.ModulePath}}/cmd/version.buildTag={{.Tag}} -X {{.ModulePath}}/cmd/version.buildStatus=Clean -X {{.ModulePath}}/cmd/version.buildUser=goreleaser -X {{.ModulePath}}/cmd/version.buildHost=goreleaser -X {{.ModulePath}}/cmd/version.buildTime={{.Date}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
ldflags:
- -s -w -X {{.ModulePath}}/cmd/version.buildVersion={{.Version}} -X {{.ModulePath}}/cmd/version.buildGitVersion={{.Version}} -X {{.ModulePath}}/cmd/version.buildTag={{.Tag}} -X {{.ModulePath}}/cmd/version.buildStatus=Clean -X {{.ModulePath}}/cmd/version.buildUser=goreleaser -X {{.ModulePath}}/cmd/version.buildHost=goreleaser -X {{.ModulePath}}/cmd/version.buildTime={{.Date}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit c39ffd2

Please sign in to comment.