diff --git a/Cargo.lock b/Cargo.lock index acb7ac2..cd71362 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,7 +147,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chkr" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "argh", diff --git a/Cargo.toml b/Cargo.toml index 5702dd7..f00fd0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chkr" -version = "0.1.0" +version = "0.2.0" edition = "2024" [dependencies] diff --git a/scripts/bump.sh b/scripts/bump.sh index 64743c8..6736e47 100644 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -3,9 +3,10 @@ set -euo pipefail VERSION="$(git cliff --bumped-version)" -sed -i "s/^version = \".*\"/version = \"${VERSION}\"/" Cargo.toml +VERSION_CLEAN="${VERSION#v}" +sed -i "s/^version = \".*\"/version = \"${VERSION_CLEAN}\"/" Cargo.toml cargo check -echo Press Y to commit version bump to ${VERSION} +echo Press Y to commit version bump to ${VERSION_CLEAN} read -r CONFIRM if [ "${CONFIRM}" != "Y" ]; then echo Aborting