kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Bring over remaining scripts from build.jermolene.github.io
rodzic
067e8a9f94
commit
9244a2f4fd
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# publish to npm
|
||||||
|
|
||||||
|
./bin/clean.sh
|
||||||
|
|
||||||
|
npm publish || exit 1
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Abbreviated build script for building prerelease
|
||||||
|
|
||||||
|
tiddlywiki editions/prerelease \
|
||||||
|
--verbose \
|
||||||
|
--build favicon index \
|
||||||
|
|| exit 1
|
|
@ -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
|
Ładowanie…
Reference in New Issue