publish script cool
cargo devel CI / cargo CI (push) Successful in 1m56s Details

This commit is contained in:
Christoph J. Scherr 2024-01-17 16:52:32 +01:00
parent e0bc9cba0b
commit 9a35132d85
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
#!/bin/bash #!/bin/bash
cargo ws publish --registry cscherr --publish-as-is set -e
cargo check --all-features
cargo ws version --no-git-commit
NEW_VERSION=$(cat Cargo.toml| rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
bash scripts/set_all_versions.sh $1
git add -A
git commit -m "Release v$NEW_VERSION"
cargo ws publish --registry cscherr --amend
cargo publish --registry cscherr -p libpt cargo publish --registry cscherr -p libpt