aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index 85ce5ce..376c03c 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -61,6 +61,9 @@ function update() {
headers: {"User-Agent": "Viper"},
url: "https://api.github.com/repos/R2Northstar/Northstar/releases/latest",
}, (error, response, body) => {
+ const tag = body['tag_name'];
+ console.log(tag);
+
https.get(body.assets[0].browser_download_url, (res) => {
let stream = fs.createWriteStream(settings.zip);
res.pipe(stream);