Skip to content

Commit ed30365

Browse files
cs-rajclaude
andcommitted
fix: rename dist-tag v1 → v1-latest in v1-legacy release workflows
npm rejects dist-tags that are valid SemVer ranges. 'v1' parses as >=1.0.0-0 <2.0.0-0. 'v1-latest' is not a SemVer range and is accepted. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 34862fc commit ed30365

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release-production-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
token: ${{ secrets.NPM_TOKEN }}
4545
package: ./packages/contentstack/package.json
46-
tag: v1
46+
tag: v1-latest
4747

4848
- name: Create Core Production Release
4949
id: create_release

.github/workflows/release-production-platform-plugins.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,28 @@ jobs:
4343
with:
4444
token: ${{ secrets.NPM_TOKEN }}
4545
package: ./packages/contentstack-utilities/package.json
46-
tag: v1
46+
tag: v1-latest
4747

4848
# Command
4949
- name: Publishing command (Production)
5050
uses: JS-DevTools/npm-publish@v3
5151
with:
5252
token: ${{ secrets.NPM_TOKEN }}
5353
package: ./packages/contentstack-command/package.json
54-
tag: v1
54+
tag: v1-latest
5555

5656
# Config
5757
- name: Publishing config (Production)
5858
uses: JS-DevTools/npm-publish@v3
5959
with:
6060
token: ${{ secrets.NPM_TOKEN }}
6161
package: ./packages/contentstack-config/package.json
62-
tag: v1
62+
tag: v1-latest
6363

6464
# Auth
6565
- name: Publishing auth (Production)
6666
uses: JS-DevTools/npm-publish@v3
6767
with:
6868
token: ${{ secrets.NPM_TOKEN }}
6969
package: ./packages/contentstack-auth/package.json
70-
tag: v1
70+
tag: v1-latest

0 commit comments

Comments
 (0)