From 839979d24fc724d4a2c80bafec18a98a73d4b16c Mon Sep 17 00:00:00 2001 From: bluwy Date: Thu, 5 Dec 2024 21:59:57 +0800 Subject: [PATCH] Allow publishing from this branch with legacy npm tag --- .changeset/config.json | 2 +- .github/workflows/release.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 030941db23..e1ea512fd6 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -4,7 +4,7 @@ "commit": false, "linked": [], "access": "public", - "baseBranch": "main", + "baseBranch": "4-legacy", "updateInternalDependencies": "patch", "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af77284e33..7972d60db6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ on: - "1-legacy" - "2-legacy" - "3-legacy" + - "4-legacy" - next defaults: @@ -50,7 +51,7 @@ jobs: with: # Note: pnpm install after versioning is necessary to refresh lockfile version: pnpm run version - publish: pnpm exec changeset publish + publish: pnpm exec changeset publish --tag legacy commit: "[ci] release" title: "[ci] release" env: