Skip to content

Commit

Permalink
Publish same 1.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
maboiteaspam committed May 14, 2015
1 parent 6568ac0 commit 4881444
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,18 @@ inquirer.prompt([{
};
var gitHubRelease = function(branch, tag_name, releaseType){
return line.then(function(then){
console.log(github);
console.log(github.username);
console.log(github.repo || pkg.name);
var ghApi = new ghClient({
version: "3.0.0"
});
ghApi.authenticate({
type: "basic",
username: github.user,
username: github.username,
password: github.password
});
ghApi.releases.createRelease({
owner: github.owner || github.user,
owner: github.owner || github.username,
repo: github.repo || pkg.name,
tag_name: tag_name,
target_commitish: branch,
Expand Down

0 comments on commit 4881444

Please sign in to comment.