summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 21:32:24 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 21:32:24 -0800
commit034e9cf88bdcf8209342f04e459fab9efb75700f (patch)
treef93aa8be370d6e1f20c83e547544eeb052adc75e /scripts
parent95e4c279b639cbdfe71c905848c9bb13b32613a5 (diff)
Comment on release script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 95cfd8f..7f1f1d0 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -1,9 +1,14 @@
yarn test || exit 1
branchName=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
echo $branchName
+# TODO find a better way to exlcude
+# docs from the stash
git stash push -- src || exit 1
git checkout master
yarn run build || exit 1
+# this is a hack required
+# to serve paths that start
+# with '_'
touch docs/.nojekyll
git add docs
git commit -m "Update docs for release $1"