This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
2024-01-17 14:55:07 +01:00
|
|
|
#!/bin/bash
|
2024-01-17 16:52:32 +01:00
|
|
|
set -e
|
2024-09-07 23:49:15 +02:00
|
|
|
cargo check --all-features --workspace
|
2024-09-08 01:27:27 +02:00
|
|
|
echo ">>>>>>>> SELECT A NEW VERSION"
|
|
|
|
cargo ws version
|
|
|
|
NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
|
2024-01-18 22:09:36 +01:00
|
|
|
echo ">>>>>>>> PUBLISHING RELEASE FOR REPO"
|
|
|
|
bash scripts/release.sh
|
2024-01-18 17:36:35 +01:00
|
|
|
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
|
|
|
|
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
|