From 885e7a159b25811d0282e10a8f90fc6c1fda9065 Mon Sep 17 00:00:00 2001 From: CharlieM <31941002+CharlieMc0@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:11:59 -0700 Subject: [PATCH] testing goreleaser --- .goreleaser.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 526250b4a1..614588ad03 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,7 +24,7 @@ before: hooks: - go mod download - go mod tidy - + builds: - id: "zetacored_testnet" @@ -32,15 +32,14 @@ builds: 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 @@ -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"