bumpversion changes

This commit is contained in:
Christien Rioux 2023-09-16 14:02:35 -04:00
parent 42e89b6dfe
commit 817c5ab6e7

View File

@ -1,4 +1,6 @@
#!/bin/bash
# Fail out if any step has an error
set -e
if [ "$1" == "patch" ]; then
@ -15,5 +17,16 @@ else
exit 1
fi
# Change version of crates and packages everywhere
bumpversion $PART
# Get the new version we bumped to
NEW_VERSION=$(cat .bumpversion.cfg | grep current_version\ = | cut -d\ -f3)
echo NEW_VERSION=$NEW_VERSION
# Update crate dependencies for the crates we publish
cargo upgrade veilid-tools@$NEW_VERSION
cargo upgrade veilid-core@$NEW_VERSION
# Update lockfile
cargo update