Combining a task (grunt-bump) to start after a prompt via the grunt-prompt task
问题 With Grunt I'm running a task which bumps my version number in my package.json file. But I want to prompt the user which versions he/she want's to update. If it's a normal update you run a minor increment (x.+1.x), and when its a patch or hotfix it should run a (x.x.+1). For this I have 2 grunt tasks: /* * Bump the version number to a new version */ bump: { options: { files: ['package.json'], updateConfigs: [], commit: true, commitMessage: 'Release v<%= pkg.version %>', commitFiles: ['package