Skip to content

Commit 58e0d62

Browse files
committed
force install cli tools over cached versions on version mismatch
1 parent b34398e commit 58e0d62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/install-wasm-bindgen-cli.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ if [ "$VERSION" = "" ]; then
1010
VERSION=$(cargo pkgid --frozen wasm-bindgen | cut -d "@" -f 2)
1111
fi
1212

13-
cargo +stable install --version $VERSION wasm-bindgen-cli
13+
if [ "$(wasm-bindgen --version)" != "wasm-bindgen $VERSION" ]; then
14+
cargo +stable install --version "$VERSION" wasm-bindgen-cli --force
15+
fi

0 commit comments

Comments
 (0)