mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
fix: update paths for monorepo
This commit is contained in:
parent
73b89658cc
commit
1602b459da
14 changed files with 24 additions and 9 deletions
|
@ -29,14 +29,14 @@ select VERSION in patch minor major "Specific Version"
|
|||
|
||||
if [[ $REPLY =~ ^[Yy]$ || -z $REPLY ]]; then
|
||||
# Bump version
|
||||
cd v1
|
||||
cd packages/docusaurus-1.x
|
||||
yarn version --new-version $VERSION --no-git-tag-version
|
||||
NEW_VERSION=$(node -p "require('./package.json').version")
|
||||
|
||||
# Create new branch
|
||||
git checkout -B $NEW_VERSION master
|
||||
# Cut docusaurus docs version
|
||||
cd website && yarn $DOCS_VERSION_COMMAND $NEW_VERSION
|
||||
cd ../website-1.x && yarn $DOCS_VERSION_COMMAND $NEW_VERSION
|
||||
|
||||
# Create commit
|
||||
git add ../
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue