blob: 8831ad4395d37c86c90bc171bcf8a4ce6a731591 (
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 --tags origin master
git checkout $branchName
git stash pop
|