From 167f0f8c7a4ee6b85c85e29b200eeafa71ce8d7f Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Fri, 30 Dec 2022 18:59:05 +0100 Subject: [PATCH] chore: improve release scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1146e7df..b5230e0b 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "format": "cd frontend && npm run format && cd ../backend && npm run format", "lint": "cd frontend && npm run lint && cd ../backend && npm run lint", "version": "conventional-changelog -p conventionalcommits -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", + "release:patch": "cd backend && npm version patch --commit-hooks false && cd ../frontend && npm version patch --commit-hooks false && cd .. && git add . && npm version patch --force -m 'release: %s' && git push && git push --tags", + "release:minor": "cd backend && npm version minor --commit-hooks false && cd ../frontend && npm version minor --commit-hooks false && cd .. && git add . && npm version minor --force -m 'release: %s' && git push && git push --tags", "deploy:dev": "docker buildx build --push --tag stonith404/pingvin-share:development --platform linux/amd64,linux/arm64 ." } }