Skip to content

Commit

Permalink
chore: Another fix for the release task.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jan 9, 2015
1 parent db4f132 commit 94ea4b1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module.exports = (grunt) ->
commitMessage: 'chore: release v%VERSION%'
pushTo: 'upstream'
push: false
gitDescribeOptions: '| echo "beta-$(git rev-parse --short HEAD)"'

karma:
# all of the targets will use/override these options
Expand All @@ -96,10 +97,6 @@ module.exports = (grunt) ->
auto:
autoWatch: true

changelog:
options:
dest: 'CHANGELOG.md'

watch:
tests:
files: 'test/**/*.js',
Expand All @@ -119,8 +116,9 @@ module.exports = (grunt) ->
grunt.registerTask 'default', ['jshint', 'jscs', 'test']
grunt.registerTask 'release', 'Bump the version and publish to npm.', (type) ->
grunt.task.run [
"bump:#{type||'patch'}"
'changelog'
'npm-contributors'
"bump:#{type||'patch'}:bump-only"
'changelog'
'bump-commit'
'npm-publish'
]

0 comments on commit 94ea4b1

Please sign in to comment.