summaryrefslogtreecommitdiff
path: root/maketag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'maketag.sh')
-rwxr-xr-xmaketag.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/maketag.sh b/maketag.sh
new file mode 100755
index 00000000..62bd55b5
--- /dev/null
+++ b/maketag.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+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