()
| 14 | } |
| 15 | |
| 16 | function ensureGitClean() { |
| 17 | const gitStatus = child_process |
| 18 | .execSync('git status --short') |
| 19 | .toString() |
| 20 | .trim(); |
| 21 | if (gitStatus) { |
| 22 | errExit('Uncommitted changes exist. exiting. Cannot continue'); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | function isPreRelease() { |
| 27 | let obj; |