KTVManager_Backend/bump_and_push.sh

18 lines
249 B
Bash
Raw Permalink Normal View History

2025-07-15 18:00:21 +01:00
#!/bin/bash
set -ex
# Check if an argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 <part>"
echo "Example: $0 patch"
exit 1
fi
PART=$1
# Bump the version
bump-my-version bump $PART
# Push the changes
git push
git push origin --tags