You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`📄 Unable to resolve the current version from git tag using pattern "${releaseTagPattern}". Falling back to the version on disk of ${currentVersionFromDisk}`
289
285
);
290
286
currentVersion=currentVersionFromDisk;
@@ -296,17 +292,17 @@ To fix this you will either need to add a package.json file at that location, or
`📄 Resolved the current version as ${currentVersion} from git tag "${latestMatchingGitTag.tag}".`
301
297
);
302
298
}
303
299
}else{
304
300
if(currentVersionResolvedFromFallback){
305
-
log(
301
+
logger.buffer(
306
302
`📄 Using the current version ${currentVersion} already resolved from disk fallback.`
307
303
);
308
304
}else{
309
-
log(
305
+
logger.buffer(
310
306
// In this code path we know that latestMatchingGitTag is defined, because we are not relying on the fallbackCurrentVersionResolver, so we can safely use the non-null assertion operator
311
307
`📄 Using the current version ${currentVersion} already resolved from git tag "${
312
308
latestMatchingGitTag!.tag
@@ -323,7 +319,9 @@ To fix this you will either need to add a package.json file at that location, or
323
319
}
324
320
325
321
if(options.specifier){
326
-
log(`📄 Using the provided version specifier "${options.specifier}".`);
322
+
logger.buffer(
323
+
`📄 Using the provided version specifier "${options.specifier}".`
324
+
);
327
325
// The user is forcibly overriding whatever specifierSource they had otherwise set by imperatively providing a specifier
328
326
options.specifierSource='prompt';
329
327
}
@@ -385,12 +383,12 @@ To fix this you will either need to add a package.json file at that location, or
385
383
if(projectToDependencyBumps.has(projectName)){
386
384
// No applicable changes to the project directly by the user, but one or more dependencies have been bumped and updateDependents is enabled
387
385
specifier=updateDependentsBump;
388
-
log(
386
+
logger.buffer(
389
387
`📄 Resolved the specifier as "${specifier}" because "release.version.generatorOptions.updateDependents" is enabled`
390
388
);
391
389
break;
392
390
}
393
-
log(
391
+
logger.buffer(
394
392
`🚫 No changes were detected using git history and the conventional commits standard.`
395
393
);
396
394
break;
@@ -402,7 +400,7 @@ To fix this you will either need to add a package.json file at that location, or
402
400
// Users must manually graduate from a prerelease to a release by providing an explicit specifier.
403
401
if(prerelease(currentVersion??'')){
404
402
specifier='prerelease';
405
-
log(
403
+
logger.buffer(
406
404
`📄 Resolved the specifier as "${specifier}" since the current version is a prerelease.`
407
405
);
408
406
}else{
@@ -411,7 +409,7 @@ To fix this you will either need to add a package.json file at that location, or
411
409
specifier=`pre${specifier}`;
412
410
extraText=`, combined with your given preid "${options.preid}"`;
413
411
}
414
-
log(
412
+
logger.buffer(
415
413
`📄 Resolved the specifier as "${specifier}" using git history and the conventional commits standard${extraText}.`
416
414
);
417
415
}
@@ -508,15 +506,17 @@ To fix this you will either need to add a package.json file at that location, or
508
506
){
509
507
// No applicable changes to the project directly by the user, but one or more dependencies have been bumped and updateDependents is enabled
510
508
specifier=updateDependentsBump;
511
-
log(
509
+
logger.buffer(
512
510
`📄 Resolved the specifier as "${specifier}" because "release.version.generatorOptions.updateDependents" is enabled`
513
511
);
514
512
}else{
515
513
specifier=null;
516
-
log(`🚫 No changes were detected within version plans.`);
514
+
logger.buffer(
515
+
`🚫 No changes were detected within version plans.`
516
+
);
517
517
}
518
518
}else{
519
-
log(
519
+
logger.buffer(
520
520
`📄 Resolved the specifier as "${specifier}" using version plans.`
521
521
);
522
522
}
@@ -636,7 +636,7 @@ To fix this you will either need to add a package.json file at that location, or
0 commit comments