Skip to content

Commit

Permalink
Return if no GH_TOKEN specified
Browse files Browse the repository at this point in the history
  • Loading branch information
jely2002 committed Dec 3, 2020
1 parent 24a636f commit 0f8bb74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repack-appimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ async function publish(distDir, appImage) {
githubToken = fs.readFileSync(path.join(distDir, '..', 'gh_token.txt'))
} catch (err) {
console.log("No GitHub token specified, skipping publish.")
return
}
if(githubToken === "") {
console.log("No GitHub token specified, skipping publish.")
return
}
let gh = new GitHub({
username: 'jely2002',
Expand Down

0 comments on commit 0f8bb74

Please sign in to comment.