chore: add release & tagging workflow

This commit is contained in:
Elias Schneider
2022-10-17 23:05:39 +02:00
parent f3ec9be63b
commit 6b86ab0e49
3 changed files with 11 additions and 6 deletions

View File

@@ -1,7 +1,11 @@
{
"name": "pingvin-share",
"version": "0.0.0",
"scripts": {
"format": "cd frontend && npm run format && cd ../backend && npm run format",
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint"
"lint": "cd frontend && npm run lint && cd ../backend && npm run lint",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release:patch": "npm version patch -m 'release: %s' && git push && git push --tags",
"release:minor": "npm version minor -m 'release: %s' && git push && git push --tags"
}
}