Skip to content

Commit 4a5783a

Browse files
captbaritoneclaude
andcommitted
Fix CI: allow same version in npm version for tagged releases
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5de9496 commit 4a5783a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ jobs:
9191
run: |
9292
VERSION=${GITHUB_REF_NAME#v}
9393
echo "Setting version to $VERSION for tagged release"
94-
cd packages/webamp && npm version $VERSION --no-git-tag-version
95-
cd ../ani-cursor && npm version $VERSION --no-git-tag-version
96-
cd ../winamp-eqf && npm version $VERSION --no-git-tag-version
97-
# TODO: Update version number in webampLazy.tsx if needed
94+
cd packages/webamp && npm version $VERSION --no-git-tag-version --allow-same-version
95+
cd ../ani-cursor && npm version $VERSION --no-git-tag-version --allow-same-version
96+
cd ../winamp-eqf && npm version $VERSION --no-git-tag-version --allow-same-version
9897
- name: Publish ani-cursor to npm
9998
working-directory: ./packages/ani-cursor
10099
if: github.ref == 'refs/heads/master' || (github.ref_type == 'tag' && startsWith(github.ref_name, 'v'))

0 commit comments

Comments
 (0)