kopia lustrzana https://github.com/miklobit/TiddlyWiki5
17 wiersze
325 B
Batchfile
17 wiersze
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
|