Skip to content

Commit 27d722e

Browse files
timok1mclaude
andauthored
fix(release): use a valid dist-tag for v2 releases (#2885)
## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) ## Related Issue - [WEB-12102](https://linear.app/channel/issue/WEB-12102) ## Summary v2 release에서 사용하는 npm dist-tag를 `v2`에서 `legacy-v2`로 변경합니다. ## Details `changeset publish --tag v2` 실행 시 npm이 `v2`를 유효한 SemVer range로 해석하여 `Tag name must not be a valid SemVer range` 오류로 배포가 실패했습니다. SemVer range로 해석되지 않는 `legacy-v2`를 사용해 `@channel.io/bezier-react@2.7.0`을 별도 유지보수 태그로 게시합니다. 기존 `latest=3.6.6`과 `next=4.0.0-next.12` dist-tag는 변경하지 않습니다. 이미 release PR에서 2.7.0 versioning이 완료되었으므로 별도 changeset은 추가하지 않습니다. ### Breaking change? (Yes/No) No ## References - 실패한 workflow: https://github.com/channel-io/bezier-react/actions/runs/29086130211 Co-authored-by: Codex <noreply@anthropic.com>
1 parent 1b14699 commit 27d722e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "turbo run test",
1616
"clean": "turbo run clean && rm -rf node_modules .turbo",
1717
"version-packages": "changeset version && yarn --mode=\"update-lockfile\"",
18-
"release": "turbo run build --filter='@channel.io/*' && changeset publish --tag v2",
18+
"release": "turbo run build --filter='@channel.io/*' && changeset publish --tag legacy-v2",
1919
"update-snapshot": "yarn workspace @channel.io/bezier-react update-snapshot",
2020
"changeset": "changeset",
2121
"postinstall": "husky install",

0 commit comments

Comments
 (0)