Skip to content

Commit

Permalink
chore: align hotfix version job (#6402)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Jul 23, 2024
1 parent c818134 commit b197051
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release_hotfix_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -74,4 +69,4 @@ jobs:
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> "${HOME}/.npmrc"
git config --global user.email [email protected]
git config --global user.name "Otto the Bot"
yarn hotfix-release ${{inputs.preid}}
yarn hotfix-release
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b197051

Please sign in to comment.