Print cross version after it's installed
This commit is contained in:
parent
2297f8e434
commit
ace37a7d90
@ -12,6 +12,7 @@ cd "$CROSS_DIR"
|
|||||||
if [[ -n $VERSION ]] && ! [[ $VERSION =~ ^v ]]; then
|
if [[ -n $VERSION ]] && ! [[ $VERSION =~ ^v ]]; then
|
||||||
cargo install cross --git https://github.com/cross-rs/cross --rev "$VERSION"
|
cargo install cross --git https://github.com/cross-rs/cross --rev "$VERSION"
|
||||||
mv "$HOME/.cargo/bin/cross" .
|
mv "$HOME/.cargo/bin/cross" .
|
||||||
|
CROSS_NO_WARNINGS=0 ./cross --version
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -26,3 +27,4 @@ curl --silent --location \
|
|||||||
sh
|
sh
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
|
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
|
||||||
|
CROSS_NO_WARNINGS=0 ./cross --version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user