From 12707cccc08100879f4e2508b6def91aa6d7ab09 Mon Sep 17 00:00:00 2001 From: Karl Date: Tue, 15 Jul 2025 18:00:21 +0100 Subject: [PATCH] bump a push --- bump_and_push.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bump_and_push.sh diff --git a/bump_and_push.sh b/bump_and_push.sh new file mode 100644 index 0000000..ccf43bd --- /dev/null +++ b/bump_and_push.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -ex + +# Check if an argument is provided +if [ -z "$1" ]; then + echo "Usage: $0 " + 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 \ No newline at end of file