Added "yarn ship" command
no issue - @TODO: add the ability to draft a release when running `yarn ship`
This commit is contained in:
parent
d92b90db96
commit
6541544026
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "gulp",
|
"dev": "gulp",
|
||||||
"zip": "gulp zip",
|
"zip": "gulp zip",
|
||||||
"test": "gscan ."
|
"test": "gscan .",
|
||||||
|
"preship": "yarn test",
|
||||||
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Ghost Foundation",
|
"name": "Ghost Foundation",
|
||||||
|
|
Loading…
Reference in a new issue