grunt-release-hoodie
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -16,2 +16,8 @@ module.exports = function (grunt) { | ||
grunt.registerTask('default', function() { | ||
grunt.log | ||
.ok() | ||
.write('Don\'t mind me. I\'m just here for deployments...'); | ||
}); | ||
}; |
{ | ||
"name": "grunt-release-hoodie", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Automatically configures the hoodie release process.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -9,17 +9,25 @@ module.exports = function (grunt) { | ||
var bump = { | ||
commitMessage: 'chore(release): v%VERSION%', | ||
files: ['package.json', 'bower.json'], | ||
commitFiles: [ | ||
'package.json', | ||
'bower.json', | ||
'CHANGELOG.md', | ||
'dist/*' | ||
], | ||
pushTo: 'origin master' | ||
}; | ||
var options = this.options({ | ||
bump: { | ||
commitMessage: 'chore(release): v%VERSION%', | ||
files: ['package.json', 'bower.json'], | ||
commitFiles: [ | ||
'package.json', | ||
'bower.json', | ||
'CHANGELOG.md', | ||
'dist/*' | ||
], | ||
pushTo: 'origin master' | ||
}, | ||
bump: {}, | ||
tasks: ['build'] | ||
}); | ||
for (var option in bump) { | ||
if (!options.bump[option]) { | ||
options.bump[option] = bump[option]; | ||
} | ||
} | ||
grunt.config.set('bump', {options: options.bump}); | ||
@@ -26,0 +34,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4727
51