Skip to content

Commit

Permalink
Add updated GoReleaser config
Browse files Browse the repository at this point in the history
- Re-generated by gorelease v0.146.0
- Updated archive name to match selfupdate expectations
- Ignored 386 architecture (the new sql parser isn't compatible
  https://github.com/blastrain/vitess-sqlparser/blob/af18b79da0353019d7c20a6f05a31ecbfdc67948/tidbparser/dependency/mysql/util.go#L44-L45)
- Switched format to .zip
  • Loading branch information
mpchadwick committed Oct 30, 2020
1 parent c074cb7 commit 35bf936
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ignore:
- goos: windows
goarch: 386
- goos: linux
goarch: 386
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -24,5 +29,5 @@ changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'

0 comments on commit 35bf936

Please sign in to comment.