Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Commit 8eeb995

Browse files
committed
Update migrate script
1 parent d91b4b8 commit 8eeb995

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

migrate.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
#!/usr/bin/env bash
22

3+
git checkout master
4+
35
# Add YoastSEO.js:
4-
git subtree add --prefix=packages/yoastseo https://github.com/yoast/YoastSEO.js.git develop
6+
git subtree add --prefix=packages/yoastseo https://github.com/yoast/YoastSEO.js.git master
57

68
# Add yoast-components
7-
git subtree add --prefix=packages/yoast-components https://github.com/yoast/yoast-components.git develop
9+
git subtree add --prefix=packages/yoast-components https://github.com/yoast/yoast-components.git master
10+
11+
12+
git checkout -b develop
13+
git subtree pull --prefix=packages/yoastseo https://github.com/yoast/YoastSEO.js.git develop
14+
git subtree pull --prefix=packages/yoast-components https://github.com/yoast/yoast-components.git develop
15+
816

917
./node_modules/.bin/lerna bootstrap
1018

0 commit comments

Comments
 (0)