@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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -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 analyze for release.");
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) exitWithError("No packages have changes requiring a release", "Make sure you have commits since the last release");
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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucdjs/release-scripts",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0-beta.7",
4
4
  "description": "@ucdjs release scripts",
5
5
  "type": "module",
6
6
  "license": "MIT",