Skip to content

Commit

Permalink
Merge branch '4.7.1' into bump/4.7.1-rev-01
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriscos authored Nov 27, 2023
2 parents b80afad + 2bb5537 commit afcd98d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/release/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ async function run(configuration) {

bump(configuration);

logger.debug('Checking if there are changes to commit');
const thereChangesToCommit =
execSystem('git diff --exit-code --no-patch;echo -n $?').toString() === '1';
logger.debug(`Are there changes to commit?: ${thereChangesToCommit}`);

if (!ignoreConfirmation) {
let repeat = true;
do {
Expand Down Expand Up @@ -149,6 +144,11 @@ async function run(configuration) {
} while (repeat);
}

logger.debug('Checking if there are changes to commit');
const thereChangesToCommit =
execSystem('git diff --exit-code --no-patch;echo -n $?').toString() === '1';
logger.debug(`Are there changes to commit?: ${thereChangesToCommit}`);

if (thereChangesToCommit) {
logger.info('There are changes to commit.');
console.log(execSystem('git diff --name-only').toString());
Expand Down

0 comments on commit afcd98d

Please sign in to comment.