Skip to content

Commit 78dfbbc

Browse files
committed
chore: lerna force-publish
1 parent bbbfe2e commit 78dfbbc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/release-custom-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
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 }}

.github/workflows/release-snapshot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
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 }}

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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
4040
uses: actions/[email protected]
4141
with:
4242
node-version-file: '.nvmrc'
4343
cache: 'yarn'
44-
44+
4545
- name: Install
4646
run: |
4747
npm install -g npm
@@ -51,7 +51,7 @@ jobs:
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']
@@ -89,7 +89,7 @@ jobs:
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-

0 commit comments

Comments
 (0)