Closed andreasciamanna closed 8 years ago
I have this configuration:
this.grunt.initConfig({ pkg: this.grunt.file.readJSON('package.json'), bump: { options: { files: ['../myfile.php'], commit: false, createTag: false, push: false, globalReplace: true, prereleaseName: 'rc' } } });
When running grunt bump:prerelease, only the first occurrence of the file gets changed.
grunt bump:prerelease
For instance, if the files begins as such:
/* Plugin Name: My Plugins Author: Me Version: 3.3.8-rc.1 3.3.8-rc.1 */
Only what's after "Version:" gets bumped.
Probably because the regex for the second one doesnt match since it isn't prefixed with version
I have this configuration:
When running
grunt bump:prerelease
, only the first occurrence of the file gets changed.For instance, if the files begins as such:
Only what's after "Version:" gets bumped.