Publish v1.5.0 (#1030)

* v1.5.0

* Add version 1.5.0
This commit is contained in:
Yangshun Tay 2018-10-13 12:17:26 -07:00 committed by GitHub
parent 76e2d3bf17
commit f22aa221f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 809 additions and 13 deletions

View file

@ -21,15 +21,16 @@ select VERSION in patch minor major "Specific Version"
echo
if [[ $REPLY =~ ^[Yy]$ || -z $REPLY ]]; then
# bump version
# Bump version
cd v1
yarn version --new-version $VERSION --no-git-tag-version
NEW_VERSION=$(node -p "require('./package.json').version")
# create new branch
# Create new branch
git checkout -B $NEW_VERSION master
# cut docusaurus docs version
# Cut docusaurus docs version
cd website && yarn $DOCS_VERSION_COMMAND $NEW_VERSION
# Create commit
git add ../
git commit -m "v$NEW_VERSION"