use release script instead of very long inline command

This commit is contained in:
Ulf Gebhardt 2021-08-20 16:58:30 +02:00
parent 91123e27a3
commit 5aaa229d5d
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -7,7 +7,7 @@
"author": "Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>",
"license": "MIT",
"scripts": {
"release": "yarn version --no-git-tag-version --no-commit-hooks --no-commit && auto-changelog --latest-version $(node -p -e \"require('./package.json').version\") && cd frontend && yarn version --no-git-tag-version --no-commit-hooks --no-commit --new-version $(node -p -e \"require('./../package.json').version\")"
"release": "scripts/release.sh"
},
"dependencies": {
"auto-changelog": "^2.2.1"