Fix CI: allow same version in npm version for tagged releases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jordan Eldredge 2026-06-15 20:50:03 -07:00
parent 5de9496010
commit 4a5783ae51

View file

@ -91,10 +91,9 @@ jobs:
run: |
VERSION=${GITHUB_REF_NAME#v}
echo "Setting version to $VERSION for tagged release"
cd packages/webamp && npm version $VERSION --no-git-tag-version
cd ../ani-cursor && npm version $VERSION --no-git-tag-version
cd ../winamp-eqf && npm version $VERSION --no-git-tag-version
# TODO: Update version number in webampLazy.tsx if needed
cd packages/webamp && npm version $VERSION --no-git-tag-version --allow-same-version
cd ../ani-cursor && npm version $VERSION --no-git-tag-version --allow-same-version
cd ../winamp-eqf && npm version $VERSION --no-git-tag-version --allow-same-version
- name: Publish ani-cursor to npm
working-directory: ./packages/ani-cursor
if: github.ref == 'refs/heads/master' || (github.ref_type == 'tag' && startsWith(github.ref_name, 'v'))