summaryrefslogtreecommitdiff
path: root/scripts/release.sh
blob: d03a67a34e23fed0d24e6b69e3856dbc7d1e9cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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