From 95f83f553562ebe7e4970f5696dc814b30c1a753 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 18 Jan 2024 17:36:35 +0100 Subject: [PATCH] script manualisation --- scripts/publish.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 3615e55..b6d0bac 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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-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 +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