diff --git a/scripts/publish.sh b/scripts/publish.sh index 09967a4..81f1562 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e cargo check --all-features --workspace +echo ">>>>>>>> SELECT A NEW VERSION" +cargo ws version +NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1') echo ">>>>>>>> PUBLISHING RELEASE FOR REPO" bash scripts/release.sh echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT"