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