From a7d0c18f52889293813ead01e84f591e840f7be9 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 8 Sep 2024 01:27:27 +0200 Subject: [PATCH] chore: reset publish script --- scripts/publish.sh | 3 +++ 1 file changed, 3 insertions(+) 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"