1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Chore: Fix Android release script

This commit is contained in:
Laurent Cozic 2023-05-14 14:33:13 +01:00
parent b023f58497
commit 648e091523

View File

@ -259,10 +259,13 @@ async function main() {
console.info(releaseFiles);
const voskRelease = releaseFiles['vosk'];
delete releaseFiles['vosk'];
await uploadToGitHubRelease(mainProjectName, tagName, isPreRelease, releaseFiles);
await uploadToGitHubRelease(modProjectName, tagName, isPreRelease, { 'vosk': voskRelease });
if (voskRelease) {
delete releaseFiles['vosk'];
await uploadToGitHubRelease(modProjectName, tagName, isPreRelease, { 'vosk': voskRelease });
}
console.info(`Main download URL: ${releaseFiles['main'].downloadUrl}`);