script manualisation
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-01-18 17:36:35 +01:00
parent 6e791f068d
commit f70e4c5a78
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 14 additions and 3 deletions

View File

@ -6,6 +6,17 @@ 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"
cargo ws publish --registry cscherr --no-git-push --publish-as-is || cargo publish --registry cscherr -p libpt
git push
cargo ws publish --publish-as-is || cargo publish -p libpt
cargo ws version --amend
git push || true
cargo publish --registry cscherr -p libpt-math
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
cargo publish -p libpt-math
cargo publish -p libpt-log
cargo publish -p libpt-core
cargo publish -p libpt-bintols
cargo publish -p libpt-net
cargo publish -p libpt