You've already forked joplin
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:
@@ -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', {
|
||||
|
Reference in New Issue
Block a user