summaryrefslogtreecommitdiff
path: root/maketag.sh
blob: 62bd55b53521e0c2973462a7f31ca20b94de3566 (plain)
1
2
3
4
5
6
7
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