Skip to content

Commit

Permalink
Replace changelog with manual GitHub releases (fix #38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmccurdy committed Mar 20, 2017
1 parent c3dc74f commit 97a2244
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
27 changes: 0 additions & 27 deletions CHANGELOG.md

This file was deleted.

44 changes: 1 addition & 43 deletions gruntfile.js
Expand Up @@ -12,45 +12,6 @@ module.exports = function (grunt) {
]
}
},
'npm-contributors': {
options: {
commitMessage: 'chore: update contributors'
}
},
bump: {
options: {
commitMessage: 'chore: release v%VERSION%',
pushTo: 'upstream',
commitFiles: [
'package.json',
'CHANGELOG.md'
]
}
},
conventionalChangelog: {
release: {
options: {
changelogOpts: {
preset: 'angular'
}
},
src: 'CHANGELOG.md'
}
},
conventionalGithubReleaser: {
release: {
options: {
auth: {
type: 'oauth',
token: process.env.GH_TOKEN
},
changelogOpts: {
preset: 'angular',
releaseCount: 0
}
}
}
},
eslint: {
target: [
'index.js',
Expand All @@ -69,10 +30,7 @@ module.exports = function (grunt) {
grunt.registerTask('release', 'Bump the version and publish to NPM.', function (type) {
grunt.task.run([
'npm-contributors',
'bump:' + (type || 'patch') + ':bump-only',
'conventionalChangelog',
'bump-commit',
'conventionalGithubReleaser',
'bump:' + (type || 'patch'),
'npm-publish'
])
})
Expand Down
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -37,8 +37,6 @@
"grunt": "^1.0.1",
"grunt-bump": "^0.8.0",
"grunt-cli": "^1.2.0",
"grunt-conventional-changelog": "^6.1.0",
"grunt-conventional-github-releaser": "^1.0.0",
"grunt-eslint": "^19.0.0",
"grunt-npm": "^0.0.2",
"grunt-simple-mocha": "^0.4.0",
Expand Down

0 comments on commit 97a2244

Please sign in to comment.