mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-30 20:10:28 +00:00
18 lines
350 B
Bash
18 lines
350 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Bump to a new version number
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
echo "Missing version (eg '5.1.38-prerelease')"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# Set the new version number (will also commit and tag the release)
|
||
|
|
||
|
npm version $1 -m "Version number update for $1" || exit 1
|
||
|
|
||
|
# Make sure our tags are pushed to the origin server
|
||
|
|
||
|
git push origin --tags || exit 1
|