From 7bbacce30d6717228d39f787103f5b72f4eb7bfa Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Sat, 19 Jan 2019 21:15:25 -0800 Subject: Implement release script --- scripts/release.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/release.sh 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 + -- cgit v1.2.3