mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Update verbump
script to include version number in commit message
Easier to find.
This commit is contained in:
parent
f3954d374d
commit
7d0b930335
@ -3,13 +3,13 @@
|
||||
rem Bump to a new version number
|
||||
|
||||
if "x%1" == "x" (
|
||||
echo Missing version (eg '5.0.0-alpha.99'^)
|
||||
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 update" || exit 1
|
||||
npm version %1 -m "Version number update for %1" || exit 1
|
||||
|
||||
rem Make sure our tags are pushed to the origin server
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Missing version (eg '5.0.0-alpha.99')"
|
||||
echo "Missing version (eg '5.0.0-alpha')"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Set the new version number (will also commit and tag the release)
|
||||
|
||||
npm version $1 -m "Version update" || exit 1
|
||||
npm version $1 -m "Version number update for $1" || exit 1
|
||||
|
||||
# Make sure our tags are pushed to the origin server
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user