Skip to content

Commit ba38134

Browse files
committed
allow publish from main branch
1 parent d18f4dd commit ba38134

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/publish.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ for (const lerna of filteredLernaList) {
3232
);
3333
}
3434
if (
35+
process.env.BRANCH_NAME !== "main" &&
3536
versionFromRef &&
3637
packageFromRef &&
3738
(packageFromRef !== packageFromBranch ||

0 commit comments

Comments
 (0)