mirror of
https://github.com/cinnyapp/cinny-desktop.git
synced 2025-01-29 17:28:26 +00:00
Fix release script to work with new format
This commit is contained in:
parent
42f685a26e
commit
df6cbe3ef4
|
@ -69,13 +69,13 @@ async function createTauriRelease() {
|
|||
platforms: {},
|
||||
};
|
||||
|
||||
if (win64.url) releaseData.platforms.win64 = win64;
|
||||
if (win64.url) releaseData.platforms["windows-x86_64"] = win64;
|
||||
else console.error('Failed to get release for win64');
|
||||
|
||||
if (linux.url) releaseData.platforms.linux = linux;
|
||||
if (linux.url) releaseData.platforms["linux-x86_64"] = linux;
|
||||
else console.error('Failed to get release for linux');
|
||||
|
||||
if (darwin.url) releaseData.platforms.darwin = darwin;
|
||||
if (darwin.url) releaseData.platforms["darwin-x86_64"] = darwin;
|
||||
else console.error('Failed to get release for darwin');
|
||||
|
||||
const releaseResult = await repos.getReleaseByTag({ ...repoMetaData, tag: 'tauri' });
|
||||
|
|
Loading…
Reference in a new issue