bumpversion changes
This commit is contained in:
		@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user