Updated master to main in yarn ship

no issue

`master` is now renamed as `main` upstream, this updates the `yarn ship` to push updates to `main` instead of master now.
This commit is contained in:
Rish 2021-03-02 18:12:18 +05:30
parent 80c943a7b6
commit 6e15908fd9

View File

@ -35,7 +35,7 @@
"eject": "react-scripts eject",
"lint": "eslint src --ext .js --cache",
"preship": "yarn lint",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} master --follow-tags; fi",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi",
"posttest": "yarn lint",
"prepublishOnly": "yarn build"
},