mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Script for bumping the version number
This commit is contained in:
parent
73d301e63f
commit
2a7f577366
17
verbump.sh
Executable file
17
verbump.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user