mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-18 00:55:54 +00:00
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:
parent
5de9496010
commit
4a5783ae51
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue