From dc1910dcb94880c3b70a98678ab10851ae8c32f8 Mon Sep 17 00:00:00 2001 From: Akalanka Date: Sat, 2 Mar 2024 08:08:24 +0530 Subject: [PATCH 1/2] Fix(automatic-versioning): updated commit trailer --- packages/automatic-versioning/src/types/default.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/automatic-versioning/src/types/default.js b/packages/automatic-versioning/src/types/default.js index 3ca4f1b..e96a8c9 100644 --- a/packages/automatic-versioning/src/types/default.js +++ b/packages/automatic-versioning/src/types/default.js @@ -102,12 +102,12 @@ const runner = ( }` ).then(async () => { if (!noCommit) { - const successMsg = `"CI: ${name} - ${ + const successMsg = `$'CI: ${name} - ${ versionUpdate === "prerelease" ? versionUpdate : `${versionUpdate} release` - }"`; + }\\n\\n\\nskip-checks: true'`; await run("git add .").then(async () => { - await run(`git commit -m ${successMsg} --trailer "skip-checks:true" --no-verify --cleanup=verbatim`).then( - () => console.info(successMsg.green) + await run(`git commit -m ${successMsg} --no-verify --cleanup=verbatim`).then(() => + console.info(successMsg.green) ); }); } From 8dc798c7752a08d23b3c95c08e22f3fa9ec4545f Mon Sep 17 00:00:00 2001 From: Akalanka Date: Sat, 2 Mar 2024 08:35:07 +0530 Subject: [PATCH 2/2] Fix(automatic-versioning): updated commit trailer --- packages/automatic-versioning/src/types/default.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/automatic-versioning/src/types/default.js b/packages/automatic-versioning/src/types/default.js index e96a8c9..df7bf78 100644 --- a/packages/automatic-versioning/src/types/default.js +++ b/packages/automatic-versioning/src/types/default.js @@ -102,9 +102,9 @@ const runner = ( }` ).then(async () => { if (!noCommit) { - const successMsg = `$'CI: ${name} - ${ + const successMsg = `"CI: ${name} - ${ versionUpdate === "prerelease" ? versionUpdate : `${versionUpdate} release` - }\\n\\n\\nskip-checks: true'`; + }\n\n\nskip-checks: true"`; await run("git add .").then(async () => { await run(`git commit -m ${successMsg} --no-verify --cleanup=verbatim`).then(() => console.info(successMsg.green)