ci: Don't set latest in publish step

This commit is contained in:
Matsuuu 2026-04-21 09:28:01 +03:00
parent 394e8aba11
commit b320f54d1a
No known key found for this signature in database

View file

@ -84,7 +84,7 @@ jobs:
- name: Publish other packages to NPM
env:
PUBLISH_BRANCH: ${{ github.event.pull_request.base.ref }}
PUBLISH_TAG: ${{ needs.determine-version-info.outputs.track == 'stable' && 'latest' || needs.determine-version-info.outputs.track }}
PUBLISH_TAG: ${{ needs.determine-version-info.outputs.track }}
run: |
# Prefix version-like track names (e.g. "1", "v1") to avoid npm rejecting them as semver ranges
if [[ "$PUBLISH_TAG" =~ ^v?[0-9] ]]; then