Skip to content

Commit

Permalink
rename release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
cappyzawa committed Apr 29, 2024
1 parent d1b9f2c commit 47c34ed
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,17 @@
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/tfswitch/main.go
ldflags:
- '-s -w -X main.version=v{{.Version}}'
goos:
- linux
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
- env:
- CGO_ENABLED=0
main: ./cmd/tfswitch/main.go
ldflags:
- '-s -w -X main.version=v{{.Version}}'
goos:
- linux
- darwin
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -27,5 +21,5 @@ changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'

0 comments on commit 47c34ed

Please sign in to comment.