From 3071bb5bc4051f560df6f33bbee701bcfe0b85c2 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 22 May 2024 12:02:39 +0200 Subject: [PATCH] test release --- .circleci/config.yml | 17 ----------------- .../ci/update_desktop_release_assets.ts | 10 ---------- apps/remixdesktop/alpha.json | 7 +++---- apps/remixdesktop/beta.json | 7 +++---- apps/remixdesktop/insiders.json | 7 +++---- apps/remixdesktop/latest.json | 5 ++--- apps/remixdesktop/src/plugins/appUpdater.ts | 1 - 7 files changed, 11 insertions(+), 43 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a0db740aa..5097f59383 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -445,18 +445,6 @@ jobs: cat release/latest-mac.yml mv release/latest-mac.yml release/latest-mac-<< parameters.arch >>.yml fi - if [ -f release/alpha-mac.yml ]; then - cat release/alpha-mac.yml - mv release/alpha-mac.yml release/alpha-mac-<< parameters.arch >>.yml - fi - if [ -f release/beta-mac.yml ]; then - cat release/beta-mac.yml - mv release/beta-mac.yml release/beta-mac-<< parameters.arch >>.yml - fi - if [ -f release/insiders-mac.yml ]; then - cat release/insiders-mac.yml - mv release/insiders-mac.yml release/insiders-mac-<< parameters.arch >>.yml - fi - run: name: Notarize the app command: | @@ -772,11 +760,6 @@ workflows: - uploadartifacts: requires: - build-remixdesktop-mac - - build-remixdesktop-linux - - sign-remixdesktop-windows - - test-remixdesktop-windows - - test-remixdesktop-linux - - test-remixdesktop-mac - build-plugin: matrix: parameters: diff --git a/apps/remix-ide/ci/update_desktop_release_assets.ts b/apps/remix-ide/ci/update_desktop_release_assets.ts index 838da1f82b..dd0a9b6130 100644 --- a/apps/remix-ide/ci/update_desktop_release_assets.ts +++ b/apps/remix-ide/ci/update_desktop_release_assets.ts @@ -95,16 +95,6 @@ async function main() { const allReleases = await getAllReleases() const version = await getVersionFromPackageJson() let channel = 'latest' - if(version.includes('beta')) { - channel = 'beta' - } - if(version.includes('alpha')) { - channel = 'alpha' - } - if(version.includes('insiders')) { - channel = 'insiders' - } - console.log(`preparing release version: ${version}`) let release diff --git a/apps/remixdesktop/alpha.json b/apps/remixdesktop/alpha.json index 3922d7123f..c1fc03dd53 100644 --- a/apps/remixdesktop/alpha.json +++ b/apps/remixdesktop/alpha.json @@ -2,7 +2,7 @@ "productName": "Remix-Desktop-alpha", "appId": "org.ethereum.remix-ide", "asar": true, - "generateUpdatesFilesForAllChannels": true, + "generateUpdatesFilesForAllChannels": false, "icon": "assets", "files": [ "build/**/*" @@ -13,10 +13,9 @@ { "provider": "github", "owner": "remix-project-org", - "repo": "remix-desktop", + "repo": "remix-desktop-alpha", "releaseType": "draft", - "publishAutoUpdate": true, - "channel": "alpha" + "publishAutoUpdate": true } ], "mac": { diff --git a/apps/remixdesktop/beta.json b/apps/remixdesktop/beta.json index 139bef48cf..7087d9147b 100644 --- a/apps/remixdesktop/beta.json +++ b/apps/remixdesktop/beta.json @@ -2,7 +2,7 @@ "productName": "Remix-Desktop-Beta", "appId": "org.ethereum.remix-ide", "asar": true, - "generateUpdatesFilesForAllChannels": true, + "generateUpdatesFilesForAllChannels": false, "icon": "assets", "files": [ "build/**/*" @@ -13,10 +13,9 @@ { "provider": "github", "owner": "remix-project-org", - "repo": "remix-desktop", + "repo": "remix-desktop-beta", "releaseType": "draft", - "publishAutoUpdate": true, - "channel": "beta" + "publishAutoUpdate": true } ], "mac": { diff --git a/apps/remixdesktop/insiders.json b/apps/remixdesktop/insiders.json index a3dfdb0256..0968d6df7b 100644 --- a/apps/remixdesktop/insiders.json +++ b/apps/remixdesktop/insiders.json @@ -2,7 +2,7 @@ "productName": "Remix-Desktop-Insiders", "appId": "org.ethereum.remix-ide", "asar": true, - "generateUpdatesFilesForAllChannels": true, + "generateUpdatesFilesForAllChannels": false, "icon": "assets", "files": [ "build/**/*" @@ -13,10 +13,9 @@ { "provider": "github", "owner": "remix-project-org", - "repo": "remix-desktop", + "repo": "remix-desktop-insiders", "releaseType": "draft", - "publishAutoUpdate": true, - "channel": "insiders" + "publishAutoUpdate": true } ], "mac": { diff --git a/apps/remixdesktop/latest.json b/apps/remixdesktop/latest.json index cba8e8dcf3..dd2f962c8c 100644 --- a/apps/remixdesktop/latest.json +++ b/apps/remixdesktop/latest.json @@ -2,7 +2,7 @@ "productName": "Remix-Desktop", "appId": "org.ethereum.remix-ide", "asar": true, - "generateUpdatesFilesForAllChannels": true, + "generateUpdatesFilesForAllChannels": false, "icon": "assets", "files": [ "build/**/*" @@ -15,8 +15,7 @@ "owner": "remix-project-org", "repo": "remix-desktop", "releaseType": "draft", - "publishAutoUpdate": true, - "channel": "latest" + "publishAutoUpdate": true } ], "mac": { diff --git a/apps/remixdesktop/src/plugins/appUpdater.ts b/apps/remixdesktop/src/plugins/appUpdater.ts index d605055d26..b7223e3d3d 100644 --- a/apps/remixdesktop/src/plugins/appUpdater.ts +++ b/apps/remixdesktop/src/plugins/appUpdater.ts @@ -18,7 +18,6 @@ export class AppUpdaterPlugin extends ElectronBasePlugin { this.methods = [...super.methods] autoUpdater.autoDownload = false - autoUpdater.channel = 'beta' autoUpdater.disableDifferentialDownload = true autoUpdater.on('checking-for-update', () => {