From d969a121892d2fc33f050acaec99d151217fe7ef Mon Sep 17 00:00:00 2001 From: Mayank Date: Thu, 27 Jun 2024 17:38:34 +0530 Subject: [PATCH] fix: manual publish --- scripts/manual-publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/manual-publish.js b/scripts/manual-publish.js index 75d4d9d5..c4ffa606 100644 --- a/scripts/manual-publish.js +++ b/scripts/manual-publish.js @@ -23,7 +23,7 @@ const OLD_VERSION = pkg.version; if (!isLatestRelease) { /** pre-release branch name should be the tag name (e.g., beta, canery, etc.) or tag name followed by a '-' and version or other specifiers. e.g. beta-2.0 */ - tag = BRANCH.split(/-|\\/)[0]; + tag = BRANCH.split(/-|\//)[0]; try { execSync(`pnpm changeset pre enter ${tag}`); } catch (e) {