Skip to content

Commit

Permalink
Deploy windows .exe from appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham committed Feb 19, 2017
1 parent e75a5a6 commit d1718c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/deploy-exe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable no-console */
var token = process.env.GITHUB_REPO_TOKEN;
var tag = process.env.APPVEYOR_REPO_TAG_NAME;
var vTag = 'v' + tag;
var fs = require('fs');
var filename = 'Appium Setup :tag.exe'.replace(':tag', tag);
var github = require('octonode');
Expand All @@ -24,9 +23,9 @@ appiumDesktopRepo.releases(function (err, releases) {
}
// Find the release that matches the given tag
releases = _.keyBy(releases, 'tag_name');
var release = releases[vTag];
var release = releases[tag];
if (!release) {
console.error('Could not find release at: ' + vTag);
console.error('Could not find release at: ' + tag);
process.exit(0);
}

Expand Down

0 comments on commit d1718c5

Please sign in to comment.