| 172 | } |
| 173 | |
| 174 | async function getReleaseType() { |
| 175 | const {releaseType} = await inquirer.prompt([ |
| 176 | { |
| 177 | type: 'list', |
| 178 | name: 'releaseType', |
| 179 | message: 'Which type of release is this?', |
| 180 | choices: [ |
| 181 | { |
| 182 | name: 'Minor (new user facing functionality)', |
| 183 | value: 'minor', |
| 184 | short: 'Minor', |
| 185 | }, |
| 186 | {name: 'Patch (bug fixes only)', value: 'patch', short: 'Patch'}, |
| 187 | ], |
| 188 | default: 'patch', |
| 189 | }, |
| 190 | ]); |
| 191 | |
| 192 | return releaseType; |
| 193 | } |
| 194 | |
| 195 | function printFinalInstructions() { |
| 196 | const buildAndTestcriptPath = join(__dirname, 'build-and-test.js'); |