File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 5050 git config user.name ${{ secrets.BOT_GIT_USERNAME }}
5151
5252 ${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
53- --dist-tag ${{ github.event.inputs.npm_tag }}
53+ --dist-tag ${{ github.event.inputs.npm_tag }} --force-publish
5454 env :
5555 GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
5656 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 4848 --no-push \
4949 --no-git-tag-version \
5050 --pre-dist-tag dev \
51- --allow-branch ${current_branch}
51+ --allow-branch ${current_branch} \
52+ --force-publish
5253
5354 env :
5455 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ jobs:
3535 - uses : actions/checkout@v4
3636 with :
3737 fetch-depth : 0
38-
38+
3939 - name : Setup Node.js environment
40404141 with :
4242 node-version-file : ' .nvmrc'
4343 cache : ' yarn'
44-
44+
4545 - name : Install
4646 run : |
4747 npm install -g npm
5151 run : |
5252 ${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
5353 ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
54- --no-git-tag-version --no-push
54+ --no-git-tag-version --no-push --force-publish
5555
5656 build-and-release :
5757 needs : ['test', 'release-dryrun', 'check-charts-compat-peer-deps']
8989
9090 ${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
9191 ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
92- --create-release github
92+ --create-release github --force-publish
9393 env :
9494 GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
9595 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
@@ -116,4 +116,3 @@ jobs:
116116 const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
117117
118118 await addIssueComments({ github, context })
119-
You can’t perform that action at this time.
0 commit comments