mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
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:
parent
80c943a7b6
commit
6e15908fd9
@ -35,7 +35,7 @@
|
|||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"lint": "eslint src --ext .js --cache",
|
"lint": "eslint src --ext .js --cache",
|
||||||
"preship": "yarn lint",
|
"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",
|
"posttest": "yarn lint",
|
||||||
"prepublishOnly": "yarn build"
|
"prepublishOnly": "yarn build"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user