Skip to content

Commit ba19a4f

Browse files
fix: allow same version in release workflow
Add --allow-same-version flag to npm version command to handle cases where package.json already has the correct version.
1 parent e3b6e87 commit ba19a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
VERSION="${{ steps.version.outputs.VERSION }}"
3939
4040
# Update package.json version
41-
npm version "$VERSION" --no-git-tag-version
41+
npm version "$VERSION" --no-git-tag-version --allow-same-version
4242
4343
# Helper function to safely update JSON file version
4444
update_json_version() {

0 commit comments

Comments
 (0)