diff --git a/Tools/release-app.js b/Tools/release-app.js index 4ea1c28..1d23764 100644 --- a/Tools/release-app.js +++ b/Tools/release-app.js @@ -207,8 +207,9 @@ async function main() { const release = await githubRelease(projectName, tagName); const uploadUrlTemplate = uriTemplate.parse(release.upload_url); - const releaseFile = releaseFiles[releaseFilename]; const uploadUrl = uploadUrlTemplate.expand({ name: tarFilename }); + + const downloadUrl = `https://github.com/laurent22/${projectName}/releases/download/${tagName}/${tarFilename}`; const binaryBody = await fs.readFile(tarPath); @@ -230,7 +231,7 @@ async function main() { console.info('================================================'); console.info('Upload new release at: https://apps.nextcloud.com/developer/apps/releases/new'); - console.info(`Main download URL: ${releaseFiles['main'].downloadUrl}`); + console.info(`Main download URL: ${downloadUrl}`); console.info(`Signature:`); console.info(sigContent); } diff --git a/appinfo/info.xml b/appinfo/info.xml index c75baea..7b9fc2a 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ Joplin Web API Joplin Web API for Nextcloud - 0.0.23 + 0.0.24 apache Laurent Cozic Joplin