1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00

Improved Android and Electron release process

This commit is contained in:
Laurent Cozic
2018-02-04 17:55:22 +00:00
parent 13bc185829
commit 5430a747e9

View File

@@ -83,13 +83,13 @@ toolUtils.fileExists = async function(filePath) {
toolUtils.githubOauthToken = async function() {
const fs = require('fs-extra');
const r = await fs.readFile(__dirname + '/Tools/github_oauth_token.txt');
const r = await fs.readFile(__dirname + '/github_oauth_token.txt');
return r.toString();
}
toolUtils.githubRelease = async function(tagName, isDraft) {
const fetch = require('node-fetch');
const oauthToken = await githubOauthToken();
const response = await fetch('https://api.github.com/repos/laurent22/joplin/releases', {