From 2875bc5a1a9887916e05b84827249700b4b88894 Mon Sep 17 00:00:00 2001 From: CharlieM <31941002+CharlieMc0@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:23:48 -0700 Subject: [PATCH] fixed download paths --- .github/workflows/upgrade_path_testing.yaml | 8 ++++---- .goreleaser.yaml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/upgrade_path_testing.yaml b/.github/workflows/upgrade_path_testing.yaml index fffc7fcbda..002c1df6d6 100644 --- a/.github/workflows/upgrade_path_testing.yaml +++ b/.github/workflows/upgrade_path_testing.yaml @@ -18,8 +18,8 @@ jobs: runs-on: ["buildjet-8vcpu-ubuntu-2204"] env: latest_state_export: "https://zetachain-external-files.s3.amazonaws.com/state-export/athens3/latest.json" - github_binary_version_link: "https://github.com/zeta-chain/node/releases/download/${{ github.event.inputs.version }}/zetacored-ubuntu-22-amd64" - downloaded_binary_name: "zetacored-ubuntu-22-amd64" + github_binary_version_link: "https://github.com/zeta-chain/node/releases/download/${{ github.event.inputs.version }}/zetacored-testnet-linux-amd64" + downloaded_binary_name: "zetacored-testnet-linux-amd64" VERSION: "${{ github.event.inputs.version }}" aws_region: "us-east-1" GAS_PRICES: "1.0azeta" @@ -119,7 +119,7 @@ jobs: ls -lah /home/runner/.zetacored/zetavisor/upgrades/${{ github.event.inputs.upgrade_name }}/bin/zetacored echo "ZETACORED_CHECKSUM=${ZETACORED_CHECKSUM}" >> ${GITHUB_ENV} - UPGRADE_INFO='{"binaries": {"zetacored-linux/amd64": "https://github.com/zeta-chain/node/releases/download/${{ github.event.inputs.version }}/zetacored-ubuntu-22-amd64?checksum=sha256:'${ZETACORED_CHECKSUM}'"}}' + UPGRADE_INFO='{"binaries": {"zetacored-linux/amd64": "https://github.com/zeta-chain/node/releases/download/${{ github.event.inputs.version }}/zetacored-testnet-linux-amd64?checksum=sha256:'${ZETACORED_CHECKSUM}'"}}' echo ${UPGRADE_INFO} @@ -128,7 +128,7 @@ jobs: current_version=$(curl https://rpc-archive.athens.zetachain.com:26657/abci_info -s | jq .result.response.version -r | tr -d '\n') echo "STARTING_VERSION=${current_version}" >> ${GITHUB_ENV} echo "STARTING_VERSION=${current_version}" - wget -q https://github.com/zeta-chain/node/releases/download/${current_version}/zetacored-ubuntu-22-amd64 -O /home/runner/.zetacored/zetavisor/genesis/bin/zetacored + wget -q https://github.com/zeta-chain/node/releases/download/${current_version}/zetacored-testnet-linux-amd64 -O /home/runner/.zetacored/zetavisor/genesis/bin/zetacored sudo chmod a+x /home/runner/.zetacored/zetavisor/genesis/bin/zetacored echo "PATH=/home/runner/.zetacored/zetavisor/genesis/bin:$PATH" >> ${GITHUB_ENV} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5e3ef8e075..1995d6b43d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -34,7 +34,7 @@ before: builds: - id: "zetacored_testnet" main: ./cmd/zetacored - binary: "zetacored_testnet_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + binary: "zetacored_testnet-{{ .Os }}-{{ .Arch }}" env: - 'CC={{ index .Env (print "CC_" .Os "_" .Arch) }}' - 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}' @@ -62,10 +62,10 @@ builds: - -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 - +W - id: "zetaclientd_testnet" main: ./cmd/zetaclientd - binary: "zetaclientd_testnet_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + binary: "zetaclientd_testnet-{{ .Os }}-{{ .Arch }}" env: - 'CC={{ index .Env (print "CC_" .Os "_" .Arch) }}' - 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}' @@ -84,7 +84,7 @@ builds: - id: "zetacored_mock_mainnet" main: ./cmd/zetacored - binary: "zetacored_mock_mainnet_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + binary: "zetacored_mock_mainnet-{{ .Os }}-{{ .Arch }}" env: - 'CC={{ index .Env (print "CC_" .Os "_" .Arch) }}' - 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}' @@ -104,7 +104,7 @@ builds: - id: "zetaclientd_mock_mainnet" main: ./cmd/zetaclientd - binary: "zetaclientd_mock_mainnet_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + binary: "zetaclientd_mock_mainnet-{{ .Os }}-{{ .Arch }}" env: - 'CC={{ index .Env (print "CC_" .Os "_" .Arch) }}' - 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}'