diff --git a/spec/system.spec.js b/spec/system.spec.js index f268f8e..16cdf99 100644 --- a/spec/system.spec.js +++ b/spec/system.spec.js @@ -462,7 +462,7 @@ describe('corp-semantic-release', function() { function expectedGitTag(expectedVersion) { // check for new commit let gitLog = shell.exec('git log | cat').stdout; - expect(gitLog).to.include(`chore(release): v${expectedVersion} [ci skip]`); + expect(gitLog).to.include(`chore(release): v${expectedVersion} [ci skip] ***NO_CI***`); let gitTag = shell.exec('git tag | cat').stdout; expect(gitTag).to.include('v' + expectedVersion); diff --git a/src/lib/addFilesAndCreateTag.js b/src/lib/addFilesAndCreateTag.js index 24f923a..aa16234 100644 --- a/src/lib/addFilesAndCreateTag.js +++ b/src/lib/addFilesAndCreateTag.js @@ -11,7 +11,7 @@ module.exports = function addFilesAndCreateTag(newVersion, mockPush) { terminateProcess(code); // ###### Commit files ##### - code = shell.exec('git commit -m "chore(release): ' + newVersion + ' [ci skip]"').code; + code = shell.exec('git commit -m "chore(release): ' + newVersion + ' [ci skip] ***NO_CI***"').code; terminateProcess(code); // ###### TAG NEW VERSION #####