Skip to content

Commit

Permalink
chore: Add release process to grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Apr 21, 2017
1 parent b43124a commit 54bcadd
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
20 changes: 20 additions & 0 deletions packages/grunt-stryker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<a name="0.3.0"></a>
# [0.3.0](https://github.com/stryker-mutator/grunt-stryker/compare/v0.2.0...v0.3.0) (2016-08-11)



<a name="0.2.0"></a>
# [0.2.0](https://github.com/stryker-mutator/grunt-stryker/compare/4d899c5...v0.2.0) (2016-07-27)


### Bug Fixes

* **build:** Add npm test as preversion script ([b1a6624](https://github.com/stryker-mutator/grunt-stryker/commit/b1a6624))


### Features

* **deps:** Stryker 0.4 upgrade ([#4](https://github.com/stryker-mutator/grunt-stryker/issues/4)) ([4d899c5](https://github.com/stryker-mutator/grunt-stryker/commit/4d899c5))



31 changes: 28 additions & 3 deletions packages/grunt-stryker/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

module.exports = function(grunt) {
module.exports = function (grunt) {
grunt.initConfig({
jshint: {
all: [
Expand Down Expand Up @@ -35,12 +35,37 @@ module.exports = function(grunt) {
testRunner: 'karma'
}
},
withConfigFile:{
options:{
withConfigFile: {
options: {
configFile: 'testResources/stryker.conf.js'
}
}
},
'npm-contributors': {
options: {
commitMessage: 'chore: update contributors'
}
},
conventionalChangelog: {
release: {
options: {
changelogOpts: {
preset: 'angular'
}
},
src: 'CHANGELOG.md'
}
},
bump: {
options: {
commitFiles: [
'package.json',
'CHANGELOG.md'
],
commitMessage: 'chore: release v%VERSION%',
prereleaseName: 'rc'
}
}
});

grunt.loadTasks('tasks');
Expand Down
3 changes: 3 additions & 0 deletions packages/grunt-stryker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@
"main": "Gruntfile.js",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-bump": "^0.8.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^0.7.0",
"grunt-contrib-jshint": "^0.9.2",
"grunt-conventional-changelog": "^6.1.0",
"grunt-npm": "0.0.2",
"jasmine-core": "^2.4.1",
"karma": "^1.1.1",
"karma-coverage": "^1.1.1",
Expand Down

0 comments on commit 54bcadd

Please sign in to comment.