Release v0.3.11-alpha.0
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-01-18 17:44:30 +01:00
parent ab47ce18bc
commit e9820de2ab
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
2 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ members = [
default-members = [".", "members/libpt-core"] default-members = [".", "members/libpt-core"]
[workspace.package] [workspace.package]
publish = true publish = true
version = "0.3.10" version = "0.3.11-alpha.0"
edition = "2021" edition = "2021"
authors = ["Christoph J. Scherr <software@cscherr.de>"] authors = ["Christoph J. Scherr <software@cscherr.de>"]
license = "MIT" license = "MIT"
@ -28,11 +28,11 @@ categories = [
[workspace.dependencies] [workspace.dependencies]
anyhow = "1.0.79" anyhow = "1.0.79"
thiserror = "1.0.56" thiserror = "1.0.56"
libpt-core = { version = "0.3.10", path = "members/libpt-core" } libpt-core = { version = "0.3.11-alpha.0", path = "members/libpt-core" }
libpt-bintols = { version = "0.3.10", path = "members/libpt-bintols" } libpt-bintols = { version = "0.3.11-alpha.0", path = "members/libpt-bintols" }
libpt-log = { version = "0.3.10", path = "members/libpt-log" } libpt-log = { version = "0.3.11-alpha.0", path = "members/libpt-log" }
libpt-math = { version = "0.3.10", path = "members/libpt-math" } libpt-math = { version = "0.3.11-alpha.0", path = "members/libpt-math" }
libpt-net = { version = "0.3.10", path = "members/libpt-net" } libpt-net = { version = "0.3.11-alpha.0", path = "members/libpt-net" }
[package] [package]
name = "libpt" name = "libpt"

View File

@ -6,23 +6,23 @@ cargo ws version --no-git-commit
NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1') NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
bash scripts/set_all_versions.sh $NEW_VERSION bash scripts/set_all_versions.sh $NEW_VERSION
git add -A git add -A
git commit -m "Release v$NEW_VERSION" git commit -m "Release v$NEW_VERSION" || (echo ">>>>>>>> COMMIT FAILED OR THERE WAS NOTHING TO COMMIT"; sleep 5)
echo ">>>>>>>> SKIP!!!!!" echo ">>>>>>>> SKIP!!!!!"
cargo ws version --amend cargo ws version --amend
git push || true git push || (echo ">>>>>>>> PUSH FAILED OR THERE WAS NOTHING TO PUSH"; sleep 5)
echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT" echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT"
sleep 10 sleep 10
cargo publish -p libpt-log cargo publish -p libpt-log
cargo publish -p libpt-core cargo publish -p libpt-core
cargo publish -p libpt-bintols cargo publish -p libpt-bintols
cargo publish -p libpt-net
cargo publish -p libpt-math cargo publish -p libpt-math
cargo publish -p libpt-net
cargo publish -p libpt cargo publish -p libpt
echo ">>>>>>>> PUBLISHING TO CSCHERR.DE NEXT" echo ">>>>>>>> PUBLISHING TO CSCHERR.DE NEXT"
sleep 3 sleep 3
cargo publish --registry cscherr -p libpt-log cargo publish --registry cscherr -p libpt-log
cargo publish --registry cscherr -p libpt-core cargo publish --registry cscherr -p libpt-core
cargo publish --registry cscherr -p libpt-bintols cargo publish --registry cscherr -p libpt-bintols
cargo publish --registry cscherr -p libpt-net
cargo publish --registry cscherr -p libpt-math cargo publish --registry cscherr -p libpt-math
cargo publish --registry cscherr -p libpt-net
cargo publish --registry cscherr -p libpt cargo publish --registry cscherr -p libpt