Skip to content

Commit

Permalink
ci: use latest binary version (#972)
Browse files Browse the repository at this point in the history
* ci: use latest binary version

* ci: bump snap gen version

* ci: bump snap gen
  • Loading branch information
cosmic-vagabond authored Nov 20, 2024
1 parent 166a29f commit dcaf0c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/delete-branch-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Retrieve post upgrade snapshot generator binary
run: |
POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION=v0.5.15
POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION=v0.5.17
DOWNLOAD_URL=https://github.com/elys-network/post-upgrade-snapshot-generator/releases/download/${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}/post-upgrade-snapshot-generator-${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}-linux-amd64
POST_UPGRADE_SNAPSHOT_GENERATOR_PATH=/tmp/post-upgrade-snapshot-generator-${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}
curl -L $DOWNLOAD_URL -o $POST_UPGRADE_SNAPSHOT_GENERATOR_PATH && chmod +x $POST_UPGRADE_SNAPSHOT_GENERATOR_PATH
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/software-upgrade-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,19 @@ jobs:
OLD_BINARY_PATH=/tmp/elysd-${LATEST_TAG}
# download binary from release
# curl -L $DOWNLOAD_URL -o $OLD_BINARY_PATH && chmod +x $OLD_BINARY_PATH
curl -L $DOWNLOAD_URL -o $OLD_BINARY_PATH && chmod +x $OLD_BINARY_PATH
# build binary from source
# git tag -f ${LATEST_TAG}
# make build
# mv ./build/elysd $OLD_BINARY_PATH
# git tag -d ${LATEST_TAG}
git checkout fix/v0.50.0-temp
git tag -f ${LATEST_TAG}
make build
mv ./build/elysd $OLD_BINARY_PATH
git tag -d ${LATEST_TAG}
git checkout -
echo "OLD_BINARY_PATH=$OLD_BINARY_PATH" >> $GITHUB_ENV
- name: Retrieve post upgrade snapshot generator binary
run: |
POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION=v0.5.15
POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION=v0.5.17
DOWNLOAD_URL=https://github.com/elys-network/post-upgrade-snapshot-generator/releases/download/${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}/post-upgrade-snapshot-generator-${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}-linux-amd64
POST_UPGRADE_SNAPSHOT_GENERATOR_PATH=/tmp/post-upgrade-snapshot-generator-${POST_UPGRADE_SNAPSHOT_GENERATOR_VERSION}
curl -L $DOWNLOAD_URL -o $POST_UPGRADE_SNAPSHOT_GENERATOR_PATH && chmod +x $POST_UPGRADE_SNAPSHOT_GENERATOR_PATH
Expand Down

0 comments on commit dcaf0c3

Please sign in to comment.