diff --git a/Cargo.toml b/Cargo.toml index fd94f45..95cdafc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ members = [ default-members = [".", "members/libpt-core"] [workspace.package] publish = true -version = "0.3.10" +version = "0.3.11-alpha.0" edition = "2021" authors = ["Christoph J. Scherr "] license = "MIT" @@ -28,11 +28,11 @@ categories = [ [workspace.dependencies] anyhow = "1.0.79" thiserror = "1.0.56" -libpt-core = { version = "0.3.10", path = "members/libpt-core" } -libpt-bintols = { version = "0.3.10", path = "members/libpt-bintols" } -libpt-log = { version = "0.3.10", path = "members/libpt-log" } -libpt-math = { version = "0.3.10", path = "members/libpt-math" } -libpt-net = { version = "0.3.10", path = "members/libpt-net" } +libpt-core = { version = "0.3.11-alpha.0", path = "members/libpt-core" } +libpt-bintols = { version = "0.3.11-alpha.0", path = "members/libpt-bintols" } +libpt-log = { version = "0.3.11-alpha.0", path = "members/libpt-log" } +libpt-math = { version = "0.3.11-alpha.0", path = "members/libpt-math" } +libpt-net = { version = "0.3.11-alpha.0", path = "members/libpt-net" } [package] name = "libpt" diff --git a/scripts/publish.sh b/scripts/publish.sh index 7b41d88..9ae6bd0 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -6,23 +6,23 @@ cargo ws version --no-git-commit 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" +git commit -m "Release v$NEW_VERSION" || (echo ">>>>>>>> COMMIT FAILED OR THERE WAS NOTHING TO COMMIT"; sleep 5) echo ">>>>>>>> SKIP!!!!!" 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" sleep 10 cargo publish -p libpt-log cargo publish -p libpt-core cargo publish -p libpt-bintols -cargo publish -p libpt-net cargo publish -p libpt-math +cargo publish -p libpt-net cargo publish -p libpt 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-net cargo publish --registry cscherr -p libpt-math +cargo publish --registry cscherr -p libpt-net cargo publish --registry cscherr -p libpt