veilid/version_bump.sh

14 lines
245 B
Bash
Raw Normal View History

2023-07-16 18:35:51 +00:00
#!/bin/sh
set -e
if [ "$1" == "patch" ]; then
echo Bumping patch version
elif [ "$1" == "minor" ]; then
echo Bumping minor version
elif [ "$1" == "major" ]; then
echo Bumping major version
fi
cargo set-version --dry-run --bump $1