mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Seamless-Updates: added debugging logs for createReleaseAssets (#11053)
This commit is contained in:
parent
93f96c03b1
commit
e2e589e907
@ -42,6 +42,14 @@ const createReleaseAssets = async (context: Context, release: GitHubRelease) =>
|
||||
}
|
||||
}
|
||||
|
||||
if (zipPath === undefined || dmgPath === undefined) {
|
||||
const formattedAssets = release.assets.map(asset => ({
|
||||
name: asset.name,
|
||||
url: asset.url,
|
||||
}));
|
||||
throw new Error(`Zip path: ${zipPath} and/or dmg path: ${dmgPath} are not defined. Logging assets of release: ${JSON.stringify(formattedAssets, null, 2)}`);
|
||||
}
|
||||
|
||||
const info: GenerateInfo = {
|
||||
version: release.tag_name.slice(1),
|
||||
dmgPath: dmgPath,
|
||||
|
Loading…
Reference in New Issue
Block a user