set a prealpha version
cargo devel CI / cargo CI (push) Successful in 2m1s Details

This commit is contained in:
Christoph J. Scherr 2024-01-23 23:43:02 +01:00
parent fb8b495ad5
commit 64b8429e84
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
2 changed files with 5 additions and 15 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "autocrate"
version = "0.1.0"
version = "0.1.0-prealpha.0"
edition = "2021"
publish = false
authors = ["Christoph J. Scherr <software@cscherr.de>"]

View File

@ -2,28 +2,18 @@
set -e
cargo check --all-features
echo ">>>>>>>> SELECT A NEW VERSION"
cargo ws version --no-git-commit
cargo ws version --no-git-commit -- -p autocrate
NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
bash scripts/set_all_versions.sh $NEW_VERSION
git add -A
git commit -m "Release v$NEW_VERSION" || (echo ">>>>>>>> COMMIT FAILED OR THERE WAS NOTHING TO COMMIT"; sleep 5)
echo ">>>>>>>> SKIP!!!!!"
cargo ws version --amend
cargo ws version --amend -- -p autocrate
echo ">>>>>>>> PUBLISHING RELEASE FOR REPO"
bash scripts/release.sh
echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT"
sleep 10
cargo publish -p libpt-log
cargo publish -p libpt-core
cargo publish -p libpt-bintols
cargo publish -p libpt-math
cargo publish -p libpt-net
cargo publish -p libpt
cargo publish
echo ">>>>>>>> PUBLISHING TO CSCHERR.DE NEXT"
sleep 3
cargo publish --registry cscherr -p libpt-log
cargo publish --registry cscherr -p libpt-core
cargo publish --registry cscherr -p libpt-bintols
cargo publish --registry cscherr -p libpt-math
cargo publish --registry cscherr -p libpt-net
cargo publish --registry cscherr -p libpt
cargo publish --registry cscherr