Skip to content

Commit

Permalink
Some cosmetics in code
Browse files Browse the repository at this point in the history
  • Loading branch information
drublic committed Jan 12, 2015
1 parent 2589269 commit 23e17e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tasks/grunt-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,14 @@ module.exports = function(grunt){
.auth(process.env[options.github.usernameVar], process.env[options.github.passwordVar])
.set('Accept', 'application/vnd.github.manifold-preview')
.set('User-Agent', 'grunt-release')
.send({"tag_name": tagName, "name": tagMessage})
.send({
"tag_name": tagName,
"name": tagMessage
})
.end(function(res){
if (res.statusCode === 201){
success();
}
else {
} else {
deferred.reject('Error creating github release. Response: ' + res.text);
}
});
Expand Down

0 comments on commit 23e17e1

Please sign in to comment.