Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

update to new packages and bump version (main) #8

Merged
merged 3 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions scripts/bootstrap_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

ARCH=`uname -m`

ORG="eosnetworkfoundation"
NODE_VERSION="3.1.0-rc2"
CDT_VERSION="3.0.0-rc1"
ORG="AntelopeIO"
NODE_VERSION="3.1.0-rc4"
CDT_VERSION="3.0.0-rc2"


CONTAINER_PACKAGE=eosnetworkfoundation/experimental-binaries
CONTAINER_PACKAGE=AntelopeIO/experimental-binaries
GH_ANON_BEARER=$(curl -s "https://ghcr.io/token?service=registry.docker.io&scope=repository:${CONTAINER_PACKAGE}:pull" | jq -r .token)
curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/blobs/$(curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/manifests/v3.1.0-rc2 | jq -r .layers[0].digest) | tar zx
curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/blobs/$(curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/manifests/v${NODE_VERSION} | jq -r .layers[0].digest) | tar -xz

if [ "${ARCH}" = "x86_64" ]; then
wget https://github.com/${ORG}/mandel/releases/download/v${NODE_VERSION}/mandel-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./mandel-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./mandel-dev-${NODE_VERSION}-ubuntu20.04-x86_64.deb
wget https://github.com/${ORG}/mandel.cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_amd64.deb
wget https://github.com/${ORG}/leap/releases/download/v${NODE_VERSION}/leap-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./leap-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./leap-dev-${NODE_VERSION}-ubuntu20.04-x86_64.deb
wget https://github.com/${ORG}/cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_amd64.deb
apt install ./cdt_${CDT_VERSION}_amd64.deb
else
apt install ./mandel-${NODE_VERSION}-ubuntu20.04-aarch64.deb
apt install ./mandel-dev-${NODE_VERSION}-ubuntu20.04-aarch64.deb
wget https://github.com/${ORG}/mandel.cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_arm64.deb
apt install ./leap-${NODE_VERSION}-ubuntu20.04-aarch64.deb
apt install ./leap-dev-${NODE_VERSION}-ubuntu20.04-aarch64.deb
wget https://github.com/${ORG}/cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_arm64.deb
apt install ./cdt_${CDT_VERSION}_arm64.deb
fi

Expand Down
2 changes: 1 addition & 1 deletion src/dune/dune.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def version_minor():
def version_patch():
return 0
def version_suffix():
return "rc1"
return "rc2"
def version_full():
return "v"+str(version_major())+"."+str(version_minor())+"."+str(version_patch())+"."+version_suffix()
class dune_error(Exception):
Expand Down