Skip to content

Commit

Permalink
add putasset
Browse files Browse the repository at this point in the history
  • Loading branch information
lovedeep92 committed Jun 29, 2021
1 parent 6bbb78c commit 0e2615f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ var github = require("octonode");
var Promise = require("bluebird");
var pexec = Promise.promisify(require('child_process').exec);
var readline = require('readline');
const putasset = require('putasset');


function checkForPackageInfoRequirements() {
return new Promise(function (resolve, reject) {
Expand All @@ -32,16 +34,6 @@ function checkForUncommitedChanges() {
});
}

function uploadAssets() {
var url = 'https://uploads.github.com/repos/hubot/singularity/releases/123/assets?name=1.0.0-mac.zip'
return new Promise(function (resolve, reject) {
var xhr = new XMLHttpRequest;
xhr.addEventListener("error", reject);
xhr.addEventListener("load", resolve);
xhr.open("GET", '');
xhr.send(null);
});
}


function promptVersionType() {
Expand Down

0 comments on commit 0e2615f

Please sign in to comment.