mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed Portal's Ship command (#19205)
refs https://ghost.slack.com/archives/C02G9E68C/p1701344186524289 - changed the ship command in portal to avoid checking the status of files in all of Ghost and just checks for the status of files inside Portal before publishing to NPM. --------- Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
This commit is contained in:
parent
9edffbffee
commit
b9c6a57d1b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
"test:unit": "yarn test:ci",
|
||||
"lint": "eslint src --ext .js --cache",
|
||||
"preship": "yarn lint",
|
||||
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
|
||||
"ship": "STATUS=$(git status --porcelain .); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; else echo \"Uncommitted changes found.\" && exit 1; fi",
|
||||
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue