1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 06:44:50 +00:00
TiddlyWiki5/verbump.cmd
Adrian Sampaleanu c4a85e3b82 Sync bld.cmd with latest bld.sh
Synced bld.cmd to bld.sh, added some mostly cosmetic changes in the command scripts to make them even more 1-to-1 with the .sh scripts.
2013-11-26 16:43:00 -05:00

17 lines
325 B
Batchfile

@echo off
rem Bump to a new version number
if "x%1" == "x" (
echo Missing version (eg '5.0.0-alpha.99'^)
exit 1
)
rem Set the new version number (will also commit and tag the release)
npm version %1 -m "Version update" || exit 1
rem Make sure our tags are pushed to the origin server
git push origin --tags || exit 1