small improvements to full release script
This commit is contained in:
parent
3f5fa9a033
commit
5303bd69d0
1 changed files with 6 additions and 2 deletions
|
@ -58,16 +58,20 @@ if [[ $SKIP_CRATE_PUBLISH == true ]]; then
|
|||
fi
|
||||
cargo smart-release --update-crates-index --no-changelog "${params[@]}"
|
||||
|
||||
echo "Verify that the publish succeeded, and Press any key to continue..."
|
||||
read -n 1 -s -r
|
||||
|
||||
if ! which cross; then
|
||||
echo "cross not found, installing..."
|
||||
cargo install cross
|
||||
fi
|
||||
|
||||
cross build --release --target=x86_64-unknown-linux-musl
|
||||
BUILD_TARGET="x86_64-unknown-linux-musl"
|
||||
cross build --release "--target=$BUILD_TARGET"
|
||||
|
||||
./scripts/package-deb.sh
|
||||
|
||||
BIN_PATH="target/x86_64-unknown-linux-musl/release/steamguard-cli"
|
||||
BIN_PATH="target/$BUILD_TARGET/release/steamguard-cli"
|
||||
RAW_VERSION="$("$BIN_PATH" --version | cut -d " " -f 2)"
|
||||
TAGGED_VERSION="$(git tag | grep "^v" | tail -n 1 | tr -d v)"
|
||||
if [[ "v$RAW_VERSION" != "v$TAGGED_VERSION" ]]; then
|
||||
|
|
Loading…
Reference in a new issue