build: add hooks to release it config

This commit is contained in:
Miodec 2023-08-11 14:22:26 +02:00
parent a4827f2d72
commit 5310463309

View file

@ -1,4 +1,12 @@
{
"hooks": {
"before:init": ["npm run lint", "npm run test-be"],
"before:release": [
"sh ./bin/deployBackend.sh",
"cd frontend && npm run deploy-live",
"sh ./bin/purgeCfCache.sh"
]
},
"git": {
"commitMessage": "chore: release v${version}"
},