Release management

This commit is contained in:
Lars Strojny 2022-11-09 18:21:46 +01:00
parent bab8714b05
commit e1b5303384

View file

@ -21,7 +21,8 @@
"test": "ifNotCi() { test \"$CI\" && echo \"$2\" || echo \"$1\"; }; `npm bin`/jest `ifNotCi --watchAll`",
"link": "npm install --no-save file:///$PWD/",
"build": "rimraf ./dist && tsc",
"prepublishOnly": "npm run lint && npm run build"
"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"
},
"keywords": [
"homebridge-plugin",