Skip to content

Commit

Permalink
chore: add bump script.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Jan 21, 2021
1 parent f7f6c40 commit 9e0f7b6
Show file tree
Hide file tree
Showing 4 changed files with 4,209 additions and 209 deletions.
27 changes: 27 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = (grunt) => {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
bump: {
options: {
files: ['package.json', 'package-lock.json', 'src/Main.js'],
updateConfigs: [],
commit: true,
commitMessage: 'release v%VERSION%',
commitFiles: ['package.json', 'package-lock.json', 'src/Main.js'],
createTag: false,
tagName: 'v%VERSION%',
tagMessage: 'Release %VERSION%.',
push: false,
pushTo: 'upstream',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
globalReplace: false,
prereleaseName: false,
metadata: '',
regExp: false,
},
},
});

grunt.loadNpmTasks('grunt-bump');
};

0 comments on commit 9e0f7b6

Please sign in to comment.