generated from PlexSheep/baserepo
script manualisation
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
parent
6e791f068d
commit
ab47ce18bc
|
@ -1,11 +1,28 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
cargo check --all-features
|
cargo check --all-features
|
||||||
|
echo ">>>>>>>> SELECT A NEW VERSION"
|
||||||
cargo ws version --no-git-commit
|
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"
|
||||||
cargo ws publish --registry cscherr --no-git-push --publish-as-is || cargo publish --registry cscherr -p libpt
|
echo ">>>>>>>> SKIP!!!!!"
|
||||||
git push
|
cargo ws version --amend
|
||||||
cargo ws publish --publish-as-is || cargo publish -p libpt
|
git push || true
|
||||||
|
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
|
||||||
|
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
|
||||||
|
|
Reference in New Issue