mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 01:26:18 +00:00
7d0b930335
Easier to find.
17 lines
336 B
Batchfile
17 lines
336 B
Batchfile
@echo off
|
|
|
|
rem Bump to a new version number
|
|
|
|
if "x%1" == "x" (
|
|
echo Missing version (eg '5.0.0-alpha'^)
|
|
exit 1
|
|
)
|
|
|
|
rem Set the new version number (will also commit and tag the release)
|
|
|
|
npm version %1 -m "Version number update for %1" || exit 1
|
|
|
|
rem Make sure our tags are pushed to the origin server
|
|
|
|
git push origin --tags || exit 1
|