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 50
50
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
51
51
52
52
${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
54
54
env :
55
55
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
56
56
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 48
48
--no-push \
49
49
--no-git-tag-version \
50
50
--pre-dist-tag dev \
51
- --allow-branch ${current_branch}
51
+ --allow-branch ${current_branch} \
52
+ --force-publish
52
53
53
54
env :
54
55
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ jobs:
35
35
- uses : actions/checkout@v4
36
36
with :
37
37
fetch-depth : 0
38
-
38
+
39
39
- name : Setup Node.js environment
40
40
41
41
with :
42
42
node-version-file : ' .nvmrc'
43
43
cache : ' yarn'
44
-
44
+
45
45
- name : Install
46
46
run : |
47
47
npm install -g npm
51
51
run : |
52
52
${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
53
53
${{ (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
55
55
56
56
build-and-release :
57
57
needs : ['test', 'release-dryrun', 'check-charts-compat-peer-deps']
89
89
90
90
${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
91
91
${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
92
- --create-release github
92
+ --create-release github --force-publish
93
93
env :
94
94
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
95
95
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
@@ -116,4 +116,3 @@ jobs:
116
116
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
117
117
118
118
await addIssueComments({ github, context })
119
-
You can’t perform that action at this time.
0 commit comments