Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 43618f5

Browse files
committed
💚 prevent error from being thrown
1 parent 288cddc commit 43618f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
- name: Bump version for release trigger
4949
if: ${{ github.event_name == 'release' }}
5050
run: |
51-
npm --no-git-tag-version version ${{env.PACKAGE_VERSION}}
51+
npm --no-git-tag-version version ${{env.PACKAGE_VERSION}} --allow-same-version
5252
git add .
5353
git commit -m ${{env.PACKAGE_VERSION}}
5454
5555
- name: Bump version for workflow dispatch
5656
if: ${{ github.event_name == 'workflow_dispatch' }}
57-
run: npm version ${{env.PACKAGE_VERSION}}
57+
run: npm version ${{env.PACKAGE_VERSION}} --allow-same-version
5858

5959
- name: Publish
6060
run: npm publish --access public

0 commit comments

Comments
 (0)