Skip to content

Commit 5e90af5

Browse files
committed
chore: update version script
1 parent ddf5b7f commit 5e90af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bump-package-versions.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ const getPkgCommitsFrom = (pkgInfo, commitOrTag) => {
7878
const getBumpType = (pkgInfo, commits) => {
7979
const isExperimental = pkgInfo.version.startsWith('0.');
8080
let bumpType = 'patch';
81-
console.log('isExperimental', isExperimental)
8281
for (const commit of commits) {
8382
// commit must be in the proper format
8483
if (commit.indexOf(':') === -1) {
@@ -130,6 +129,7 @@ publicPkgList.forEach((pkgInfo) => {
130129
const scopedCommits = getPkgCommitsFrom(pkgInfo, pkgInfo.tag);
131130

132131
if (scopedCommits.length === 0) {
132+
console.log(`Package ${pkgInfo.name} has no commits. Skipping`);
133133
return;
134134
}
135135

0 commit comments

Comments
 (0)