@ucdjs/release-scripts 0.1.0-beta.6 → 0.1.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -790,11 +790,11 @@ async function release(options) {
|
|
|
790
790
|
if (normalizedOptions.safeguards && !await isWorkingDirectoryClean(workspaceRoot)) exitWithError("Working directory is not clean. Please commit or stash your changes before proceeding.");
|
|
791
791
|
const workspacePackages = await discoverWorkspacePackages(workspaceRoot, options);
|
|
792
792
|
if (workspacePackages.length === 0) {
|
|
793
|
-
logger.log("No packages found to
|
|
793
|
+
logger.log("No packages found to release.");
|
|
794
794
|
return null;
|
|
795
795
|
}
|
|
796
796
|
const versionUpdates = await inferVersionUpdates(workspacePackages, await getWorkspacePackageCommits(workspaceRoot, workspacePackages), workspaceRoot, options.prompts?.versions !== false);
|
|
797
|
-
if (versionUpdates.length === 0)
|
|
797
|
+
if (versionUpdates.length === 0) logger.warn("No packages have changes requiring a release");
|
|
798
798
|
const allUpdates = createDependentUpdates(buildPackageDependencyGraph(workspacePackages), workspacePackages, versionUpdates);
|
|
799
799
|
const currentBranch = await getCurrentBranch(workspaceRoot);
|
|
800
800
|
const existingPullRequest = await getExistingPullRequest({
|