summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
new file mode 100644
index 0000000..d03a67a
--- /dev/null
+++ b/scripts/release.sh
@@ -0,0 +1,13 @@
+branchName=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
+echo $branchName
+git stash push -- src
+git checkout master
+yarn run build
+touch build/.nojekyll
+git add docs
+git commit -m "Update docs for release $1"
+git tag $1
+git push origin master
+git checkout $branchName
+git stash pop
+