Improve release management script
This commit is contained in:
parent
71e45a3d8c
commit
828ae9eade
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
"link": "npm install --no-save file:///$PWD/",
|
||||
"build": "rimraf ./dist && tsc",
|
||||
"prepublishOnly": "npm run lint && npm run build",
|
||||
"release": "release() { test \"$1\" && npm version $1 && npm publish && git push origin develop && git push origin --tags; }; release"
|
||||
"release": "release() { test \"$1\" && test `git rev-parse --abbrev-ref HEAD` == \"develop\" && git pull origin develop --rebase && npm version $1 && npm publish && git push origin develop && git push origin --tags; }; release"
|
||||
},
|
||||
"keywords": [
|
||||
"homebridge-plugin",
|
||||
|
|
Loading…
Reference in a new issue