Skip to content

Commit 3cd2a87

Browse files
committed
Allow same version
1 parent 7b6cf1c commit 3cd2a87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
new_version="${major}.${minor}.${patch}"
7171
echo "New release is ${new_version}"
7272
echo "new_version=${new_version}" >> "$GITHUB_OUTPUT"
73-
npm version --no-git-tag-version $new_version
73+
git pull --rebase
74+
npm version --no-git-tag-version --allow-same-version $new_version
7475
7576
- name: Commit the changes
7677
run: |

0 commit comments

Comments
 (0)