(previousVersion, nextVersion)
| 72 | } |
| 73 | |
| 74 | async function commitPendingChanges(previousVersion, nextVersion) { |
| 75 | console.log(''); |
| 76 | console.log('Committing revision and changelog.'); |
| 77 | console.log(chalk.dim(' git add .')); |
| 78 | console.log( |
| 79 | chalk.dim( |
| 80 | ` git commit -m "React DevTools ${previousVersion} -> ${nextVersion}"` |
| 81 | ) |
| 82 | ); |
| 83 | |
| 84 | if (!DRY_RUN) { |
| 85 | await exec(` |
| 86 | git add . |
| 87 | git commit -m "React DevTools ${previousVersion} -> ${nextVersion}" |
| 88 | `); |
| 89 | } |
| 90 | |
| 91 | console.log(''); |
| 92 | console.log(`Please push this commit before continuing:`); |
| 93 | console.log(` ${chalk.bold.green('git push')}`); |
| 94 | |
| 95 | await confirmContinue(); |
| 96 | } |
| 97 | |
| 98 | async function getCommitLog(sha) { |
| 99 | let shortLog = ''; |
no test coverage detected