@ucdjs/release-scripts 0.1.0-beta.37 → 0.1.0-beta.38

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2062,7 +2062,10 @@ async function verifyWorkflow(options) {
2062
2062
  if (!originalBranch.ok) exitWithError(originalBranch.error.message);
2063
2063
  if (originalBranch.value !== defaultBranch) {
2064
2064
  const checkout = await checkoutBranch(defaultBranch, options.workspaceRoot);
2065
- if (!checkout.ok || !checkout.value) exitWithError(`Failed to checkout branch: ${defaultBranch}`);
2065
+ if (!checkout.ok || !checkout.value) {
2066
+ console.error(checkout.ok === false && checkout.error);
2067
+ exitWithError(`Failed to checkout branch: ${defaultBranch}`);
2068
+ }
2066
2069
  }
2067
2070
  let existingOverrides = {};
2068
2071
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucdjs/release-scripts",
3
- "version": "0.1.0-beta.37",
3
+ "version": "0.1.0-beta.38",
4
4
  "description": "@ucdjs release scripts",
5
5
  "type": "module",
6
6
  "license": "MIT",