publish script mini update

This commit is contained in:
Christoph J. Scherr 2024-01-17 17:01:38 +01:00
parent d6cd2913d3
commit 4b7d08ae37
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e set -e
cargo check --all-features cargo check --all-features
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"