Skip to content

Commit

Permalink
Add draft option.
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadotedu committed Oct 21, 2017
1 parent 2e7e1cc commit 6f25ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/grunt-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ module.exports = function(grunt) {
pushTags: true,
npm: true,
remote: 'origin',
draft: false,
beforeReleaseTasks: [],
afterReleaseTasks: [],
beforeBumpTasks: [],
Expand Down Expand Up @@ -290,6 +291,7 @@ module.exports = function(grunt) {
.send({
'tag_name': tagName,
name: tagMessage,
draft: options.draft,
prerelease: type === 'prerelease'
})
.end(function(err, res) {
Expand Down

0 comments on commit 6f25ab0

Please sign in to comment.