Skip to content

Commit

Permalink
testing goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieMc0 committed Sep 28, 2023
1 parent 9e75427 commit 885e7a1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,22 @@ before:
hooks:
- go mod download
- go mod tidy

builds:

- id: "zetacored_testnet"
main: ./cmd/zetacored
binary: "zetacored_testnet_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
env:
- 'CC={{ index .Env (print "CC_" .Os "_" .Arch) }}'

- 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}'
goos:
- darwin
- linux
- windows
# - linux
# - windows
goarch:
- arm64
- amd64
# - amd64
ignore:
- goos: windows
goarch: arm64
Expand All @@ -51,11 +50,11 @@ builds:
- -X github.com/cosmos/cosmos-sdk/version.ServerName=zetacored
- -X github.com/cosmos/cosmos-sdk/version.ClientName=zetaclientd
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit="{{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Env.COMMIT }}
- -X github.com/zeta-chain/zetacore/common.Name=zetacored
- -X github.com/zeta-chain/zetacore/common.Version={{ .Version }}
- -X github.com/zeta-chain/zetacore/common.CommitHash="{{ .Commit }}
- -X github.com/zeta-chain/zetacore/common.BuildTime"{{ .Date }}
- -X github.com/zeta-chain/zetacore/common.CommitHash={{ .Env.COMMIT }}
- -X github.com/zeta-chain/zetacore/common.BuildTime=={{ .Env.BUILDTIME }}
- -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb

# - id: "zetaclientd_testnet"
Expand Down

0 comments on commit 885e7a1

Please sign in to comment.