From b19705136f2510f2ddb812c8c8a40618522b2dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20G=C3=B3rka?= Date: Tue, 23 Jul 2024 13:05:21 +0200 Subject: [PATCH] chore: align hotfix version job (#6402) --- .github/workflows/release_hotfix_package.yml | 7 +------ package.json | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release_hotfix_package.yml b/.github/workflows/release_hotfix_package.yml index 8eae6798ae..fa856e753e 100644 --- a/.github/workflows/release_hotfix_package.yml +++ b/.github/workflows/release_hotfix_package.yml @@ -2,11 +2,6 @@ name: Test, Build and release hotfix version of packages on: workflow_dispatch: - inputs: - preid: - description: 'Prerelease identifier.' - default: 'hotfix' - required: true jobs: test_build_release_hotfix: @@ -74,4 +69,4 @@ jobs: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> "${HOME}/.npmrc" git config --global user.email webapp+otto@wire.com git config --global user.name "Otto the Bot" - yarn hotfix-release ${{inputs.preid}} + yarn hotfix-release diff --git a/package.json b/package.json index 8454740aac..46c13d13d9 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,9 @@ "new-version-beta": "lerna version prerelease --sync-workspace-lock --preid ${0} --no-changelog", "new-publish-beta": "lerna publish from-package --dist-tag beta --preid ${0}", "beta-release": "yarn new-version-beta ${0} && yarn new-publish-beta ${0}", - "new-version-hotfix": "lerna version patch --sync-workspace-lock --preid ${0} --no-changelog", - "new-publish-hotfix": "lerna publish from-package --dist-tag hotfix --preid ${0}", - "hotfix-release": "yarn new-version-hotfix ${0} && yarn new-publish-hotfix ${0}", + "new-version-hotfix": "lerna version --sync-workspace-lock --no-changelog", + "new-publish-hotfix": "lerna publish from-package --dist-tag hotfix", + "hotfix-release": "yarn new-version-hotfix && yarn new-publish-hotfix", "test": "lerna run build --include-dependencies --since && lerna run test --since --parallel", "test:all": "lerna run test", "test:coverage": "lerna run test:coverage",