generated from PlexSheep/rs-base
Compare commits
1 Commits
master
...
v0.1.0-pre
Author | SHA1 | Date |
---|---|---|
Christoph J. Scherr | 64b8429e84 |
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "autocrate"
|
name = "autocrate"
|
||||||
version = "0.1.0"
|
version = "0.1.0-prealpha.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
authors = ["Christoph J. Scherr <software@cscherr.de>"]
|
||||||
|
|
|
@ -2,28 +2,18 @@
|
||||||
set -e
|
set -e
|
||||||
cargo check --all-features
|
cargo check --all-features
|
||||||
echo ">>>>>>>> SELECT A NEW VERSION"
|
echo ">>>>>>>> SELECT A NEW VERSION"
|
||||||
cargo ws version --no-git-commit
|
cargo ws version --no-git-commit -- -p autocrate
|
||||||
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" || (echo ">>>>>>>> COMMIT FAILED OR THERE WAS NOTHING TO COMMIT"; sleep 5)
|
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 -- -p autocrate
|
||||||
echo ">>>>>>>> PUBLISHING RELEASE FOR REPO"
|
echo ">>>>>>>> PUBLISHING RELEASE FOR REPO"
|
||||||
bash scripts/release.sh
|
bash scripts/release.sh
|
||||||
echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT"
|
echo ">>>>>>>> PUBLISHING TO CRATES.IO NEXT"
|
||||||
sleep 10
|
sleep 10
|
||||||
cargo publish -p libpt-log
|
cargo publish
|
||||||
cargo publish -p libpt-core
|
|
||||||
cargo publish -p libpt-bintols
|
|
||||||
cargo publish -p libpt-math
|
|
||||||
cargo publish -p libpt-net
|
|
||||||
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
|
||||||
cargo publish --registry cscherr -p libpt-core
|
|
||||||
cargo publish --registry cscherr -p libpt-bintols
|
|
||||||
cargo publish --registry cscherr -p libpt-math
|
|
||||||
cargo publish --registry cscherr -p libpt-net
|
|
||||||
cargo publish --registry cscherr -p libpt
|
|
||||||
|
|
Loading…
Reference in New Issue