diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-19 21:15:25 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-19 21:15:25 -0800 |
commit | 7bbacce30d6717228d39f787103f5b72f4eb7bfa (patch) | |
tree | 623ac2e54bd519c2ab6d16ed11fb3321fe17faf9 | |
parent | 5f53ecca3b79e62703d20f8d60caf65745cbfe03 (diff) |
Implement release script
-rw-r--r-- | scripts/release.sh | 13 |
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 + |