mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-25 23:39:22 -05:00
19 lines
363 B
Bash
Executable File
19 lines
363 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$1" == "patch" ]; then
|
|
echo Bumping patch version
|
|
PART=patch
|
|
elif [ "$1" == "minor" ]; then
|
|
echo Bumping minor version
|
|
PART=minor
|
|
elif [ "$1" == "major" ]; then
|
|
echo Bumping major version
|
|
PART=major
|
|
else
|
|
echo Unsupported part! Specify 'patch', 'minor', or 'major'
|
|
exit 1
|
|
fi
|
|
|
|
bumpversion $PART
|
|
cargo update |