1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Bring over remaining scripts from build.jermolene.github.io

This commit is contained in:
Jeremy Ruston 2019-08-09 10:30:26 +01:00
parent 067e8a9f94
commit 9244a2f4fd
3 changed files with 32 additions and 0 deletions

7
bin/npm-publish.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# publish to npm
./bin/clean.sh
npm publish || exit 1

8
bin/quick-bld.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# Abbreviated build script for building prerelease
tiddlywiki editions/prerelease \
--verbose \
--build favicon index \
|| exit 1

17
bin/verbump.sh Executable file
View File

@ -0,0 +1,17 @@
#!/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