Skip to content

Commit

Permalink
Problem: go releaser has archive name conflict (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy authored Oct 26, 2021
1 parent 2d1def4 commit 6b3de0a
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ builds:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=cronos -X github.com/cosmos/cosmos-sdk/version.AppName=cronosd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}

archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
- id: mainnet
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
replacements:
darwin: Darwin
linux: Linux
Expand All @@ -172,11 +173,22 @@ archives:
- cronosd-windows
- cronosd-linux
- cronosd-linux-arm64
- cronosd-darwin-testnet
- cronosd-darwin-arm64-testnet
- cronosd-windows-testnet
- cronosd-linux-tesnet
- cronosd-linux-arm64-testnet
- id: testnet
name_template: '{{ .ProjectName }}_{{ .Version }}-testnet_{{ .Os }}_{{ .Arch }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
builds:
- cronosd-darwin-testnet
- cronosd-darwin-arm64-testnet
- cronosd-windows-testnet
- cronosd-linux-testnet
- cronosd-linux-arm64-testnet

checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit 6b3de0a

Please sign in to comment.