1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
TiddlyWiki5/verbump.sh
2013-11-09 10:54:25 +00:00

18 lines
333 B
Bash
Executable File

#!/bin/bash
# Bump to a new version number
if [ -z "$1" ]
then
echo "Missing version (eg '5.0.0-alpha.99')"
exit 1
fi
# Set the new version number (will also commit and tag the release)
npm version $1 -m "Version update" || exit 1
# Make sure our tags are pushed to the origin server
git push origin --tags || exit 1