@thisismanta/semantic-version 11.8.0 → 11.8.1
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/lib/make-next-release.js +1 -1
- package/lib/src.js +1 -1
- package/package.json +1 -1
package/lib/make-next-release.js
CHANGED
|
@@ -18741,7 +18741,7 @@ function getOctokit(token, options, ...additionalPlugins) {
|
|
|
18741
18741
|
(async function() {
|
|
18742
18742
|
const dryRun = process.argv.includes("--dry-run");
|
|
18743
18743
|
if (dryRun) console.log("⚠️ Running in dry-run mode.");
|
|
18744
|
-
if (!await require_src.run(`git config user.name
|
|
18744
|
+
if (!await require_src.run(`git config user.name || true`)) {
|
|
18745
18745
|
console.log("Setting Git commit author for further use in `" + require_src.npm + " version` and `git push` command...");
|
|
18746
18746
|
const name = context.payload.pusher?.name || context.actor;
|
|
18747
18747
|
console.log(" user.name =", name);
|
package/lib/src.js
CHANGED
|
@@ -463,7 +463,7 @@ function run(command) {
|
|
|
463
463
|
console.log("::debug::", stdout);
|
|
464
464
|
}
|
|
465
465
|
if (error) {
|
|
466
|
-
console.log("::error::", error.message);
|
|
466
|
+
console.log("::error::", error.message.trim());
|
|
467
467
|
if (!debugging && stdout.length > 0) console.log(stdout);
|
|
468
468
|
console.log(stderr.trimEnd());
|
|
469
469
|
reject(error);
|