Skip to content

Commit

Permalink
build: bump ic-wasm 0.8.5 (#717)
Browse files Browse the repository at this point in the history
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
  • Loading branch information
peterpeterparker committed Sep 10, 2024
1 parent 7321672 commit 92fc61d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docker/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ echo "using rust version '$rust_version'"
# here we set the toolchain to 'none' and rustup will pick up on ./rust-toolchain.toml
run curl --fail https://sh.rustup.rs -sSf | run sh -s -- -y --default-toolchain "none" --no-modify-path

echo "looking for ic-wasm 0.3.6"
if [[ ! "$(command -v ic-wasm)" || "$(ic-wasm --version)" != "ic-wasm 0.3.6" ]]
echo "looking for ic-wasm 0.8.5"
if [[ ! "$(command -v ic-wasm)" || "$(ic-wasm --version)" != "ic-wasm 0.8.5" ]]
then
echo "installing ic-wasm 0.3.6"
run cargo install ic-wasm --version 0.3.6 --locked
echo "installing ic-wasm 0.8.5"
run cargo install ic-wasm --version 0.8.5 --locked
fi

echo "installing candid-extractor"
Expand Down
8 changes: 4 additions & 4 deletions docker/build
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ if [ ${#CANISTER} -eq 0 ]; then
fi

# Checking for dependencies
if [[ ! "$(command -v ic-wasm)" || "$(ic-wasm --version)" != "ic-wasm 0.3.6" ]]
if [[ ! "$(command -v ic-wasm)" || "$(ic-wasm --version)" != "ic-wasm 0.8.5" ]]
then
echo "could not find ic-wasm 0.3.6"
echo "ic-wasm version 0.3.6 is needed, please run the following command:"
echo " cargo install ic-wasm --version 0.3.6"
echo "could not find ic-wasm 0.8.5"
echo "ic-wasm version 0.8.5 is needed, please run the following command:"
echo " cargo install ic-wasm --version 0.8.5"
exit 1
fi

Expand Down

0 comments on commit 92fc61d

Please sign in to comment.