From 9a18d7263ceb3316d4cc06cd025ad42b0cc31826 Mon Sep 17 00:00:00 2001 From: Shuhui Luo <107524008+shuhuiluo@users.noreply.github.com> Date: Tue, 12 Aug 2025 23:18:21 -0400 Subject: [PATCH] chore: allow publishing of identical npm package versions Added `--allow-same-version` flag to `npm version` command in the GitHub Actions workflow, enabling publishing of packages with the same version number. --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e36c4da..02e4ea0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -44,6 +44,6 @@ jobs: if [ -n "$VERSION" ]; then # Remove 'v' prefix if present VERSION=$(echo "$VERSION" | sed 's/^v//') - npm version "$VERSION" --no-git-tag-version + npm version "$VERSION" --no-git-tag-version --allow-same-version fi npm publish --access public