From ff211ffe226c134402ddf08fc161a77526e6fcb4 Mon Sep 17 00:00:00 2001 From: Alex Canessa Date: Thu, 12 Nov 2015 16:36:58 +0000 Subject: [PATCH] Update github.js file --- github.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/github.js b/github.js index 098f51f6..1a0c7f6f 100644 --- a/github.js +++ b/github.js @@ -408,6 +408,22 @@ }); }; + // Create a release + // ------- + // + // { + // "tag_name": "v1.0.0", + // "target_commitish": "master", + // "name": "v1.0.0", + // "body": "Description of the release", + // "draft": false, + // "prerelease": false + // } + + this.makeRelease = function(options, cb) { + _request('POST', repoPath + '/releases', options, cb); + }; + // List all pull requests of a respository // -------