summaryrefslogtreecommitdiff
path: root/make_tag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_tag.sh')
-rwxr-xr-xmake_tag.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/make_tag.sh b/make_tag.sh
new file mode 100755
index 00000000..b91e9fb6
--- /dev/null
+++ b/make_tag.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+read -p "Please generate CHANGELOG and commit it BEFORE you tag. Press a key when ready..."
+orig=$1
+VER="${orig/v/}"
+echo "Creating tag:v$VER"
+read -p "Press any key to create the tag or Ctrl-C to break..." -n1
+git tag -fa v$VER -m"v$VER"
+git push -f --tags