@ucdjs/release-scripts 0.1.0-beta.40 → 0.1.0-beta.41
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 +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -562,7 +562,10 @@ async function commitChanges(message, workspaceRoot) {
|
|
|
562
562
|
} });
|
|
563
563
|
return ok(true);
|
|
564
564
|
} catch (error) {
|
|
565
|
-
|
|
565
|
+
const gitError = toGitError("commitChanges", error);
|
|
566
|
+
logger.error(`Git commit failed: ${gitError.message}`);
|
|
567
|
+
if (gitError.stderr) logger.error(`Git stderr: ${gitError.stderr}`);
|
|
568
|
+
return err(gitError);
|
|
566
569
|
}
|
|
567
570
|
}
|
|
568
571
|
async function pushBranch(branch, workspaceRoot, options) {
|