File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,17 @@ NEW_CRA_VERSION=$(json -f ${TRAVIS_BUILD_DIR}/packages/react-scripts/package.jso
18
18
echo " NEW_CRA_VERSION: $NEW_CRA_VERSION "
19
19
json -I -f package.json -e " this.dependencies[\" @fs/react-scripts\" ]=\" $NEW_CRA_VERSION \" "
20
20
21
+ rm package-lock.json
21
22
rm blueprint.yml.bak
22
23
rm .npmrc
23
24
24
25
# Commit and push to the existing fs-webdev/fresh-cra-template repo on github
25
26
git commit -a -m ' editing blueprint.yml, fixing @fs/react-scripts version'
26
27
git remote add origin https://github.com/fs-webdev/fresh-cra-template.git
27
- git push --force origin master
28
+
29
+ if [ " $1 " == next ]; then
30
+ echo Is next branch, pushing to fresh-cra-template next branch
31
+ git push --force origin master:next
32
+ else
33
+ git push --force origin master
34
+ fi
You can’t perform that action at this time.
0 commit comments