Skip to content

Commit

Permalink
fix: manual publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 27, 2024
1 parent d4cb151 commit d969a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/manual-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d969a12

Please sign in to comment.