Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump ic-wasm 0.8.5 #717

Merged
merged 1 commit into from
Sep 10, 2024
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
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