summaryrefslogtreecommitdiff
path: root/maketag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'maketag.sh')
-rwxr-xr-xmaketag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/maketag.sh b/maketag.sh
index 62bd55b5..b91e9fb6 100755
--- a/maketag.sh
+++ b/maketag.sh
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
read -p "Please generate CHANGELOG and commit it BEFORE you tag. Press a key when ready..."
orig=$1
-VER="${orig/v//}"
+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"