Skip to content

Commit d969a12

Browse files
committed
fix: manual publish
1 parent d4cb151 commit d969a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/manual-publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const OLD_VERSION = pkg.version;
2323

2424
if (!isLatestRelease) {
2525
/** 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 */
26-
tag = BRANCH.split(/-|\\/)[0];
26+
tag = BRANCH.split(/-|\//)[0];
2727
try {
2828
execSync(`pnpm changeset pre enter ${tag}`);
2929
} catch (e) {

0 commit comments

Comments
 (0)