test release

pull/4837/head
filip mertens 6 months ago
parent f747032d45
commit 3071bb5bc4
  1. 17
      .circleci/config.yml
  2. 10
      apps/remix-ide/ci/update_desktop_release_assets.ts
  3. 7
      apps/remixdesktop/alpha.json
  4. 7
      apps/remixdesktop/beta.json
  5. 7
      apps/remixdesktop/insiders.json
  6. 5
      apps/remixdesktop/latest.json
  7. 1
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -445,18 +445,6 @@ jobs:
cat release/latest-mac.yml cat release/latest-mac.yml
mv release/latest-mac.yml release/latest-mac-<< parameters.arch >>.yml mv release/latest-mac.yml release/latest-mac-<< parameters.arch >>.yml
fi 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: - run:
name: Notarize the app name: Notarize the app
command: | command: |
@ -772,11 +760,6 @@ workflows:
- uploadartifacts: - uploadartifacts:
requires: requires:
- build-remixdesktop-mac - build-remixdesktop-mac
- build-remixdesktop-linux
- sign-remixdesktop-windows
- test-remixdesktop-windows
- test-remixdesktop-linux
- test-remixdesktop-mac
- build-plugin: - build-plugin:
matrix: matrix:
parameters: parameters:

@ -95,16 +95,6 @@ async function main() {
const allReleases = await getAllReleases() const allReleases = await getAllReleases()
const version = await getVersionFromPackageJson() const version = await getVersionFromPackageJson()
let channel = 'latest' 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}`) console.log(`preparing release version: ${version}`)
let release let release

@ -2,7 +2,7 @@
"productName": "Remix-Desktop-alpha", "productName": "Remix-Desktop-alpha",
"appId": "org.ethereum.remix-ide", "appId": "org.ethereum.remix-ide",
"asar": true, "asar": true,
"generateUpdatesFilesForAllChannels": true, "generateUpdatesFilesForAllChannels": false,
"icon": "assets", "icon": "assets",
"files": [ "files": [
"build/**/*" "build/**/*"
@ -13,10 +13,9 @@
{ {
"provider": "github", "provider": "github",
"owner": "remix-project-org", "owner": "remix-project-org",
"repo": "remix-desktop", "repo": "remix-desktop-alpha",
"releaseType": "draft", "releaseType": "draft",
"publishAutoUpdate": true, "publishAutoUpdate": true
"channel": "alpha"
} }
], ],
"mac": { "mac": {

@ -2,7 +2,7 @@
"productName": "Remix-Desktop-Beta", "productName": "Remix-Desktop-Beta",
"appId": "org.ethereum.remix-ide", "appId": "org.ethereum.remix-ide",
"asar": true, "asar": true,
"generateUpdatesFilesForAllChannels": true, "generateUpdatesFilesForAllChannels": false,
"icon": "assets", "icon": "assets",
"files": [ "files": [
"build/**/*" "build/**/*"
@ -13,10 +13,9 @@
{ {
"provider": "github", "provider": "github",
"owner": "remix-project-org", "owner": "remix-project-org",
"repo": "remix-desktop", "repo": "remix-desktop-beta",
"releaseType": "draft", "releaseType": "draft",
"publishAutoUpdate": true, "publishAutoUpdate": true
"channel": "beta"
} }
], ],
"mac": { "mac": {

@ -2,7 +2,7 @@
"productName": "Remix-Desktop-Insiders", "productName": "Remix-Desktop-Insiders",
"appId": "org.ethereum.remix-ide", "appId": "org.ethereum.remix-ide",
"asar": true, "asar": true,
"generateUpdatesFilesForAllChannels": true, "generateUpdatesFilesForAllChannels": false,
"icon": "assets", "icon": "assets",
"files": [ "files": [
"build/**/*" "build/**/*"
@ -13,10 +13,9 @@
{ {
"provider": "github", "provider": "github",
"owner": "remix-project-org", "owner": "remix-project-org",
"repo": "remix-desktop", "repo": "remix-desktop-insiders",
"releaseType": "draft", "releaseType": "draft",
"publishAutoUpdate": true, "publishAutoUpdate": true
"channel": "insiders"
} }
], ],
"mac": { "mac": {

@ -2,7 +2,7 @@
"productName": "Remix-Desktop", "productName": "Remix-Desktop",
"appId": "org.ethereum.remix-ide", "appId": "org.ethereum.remix-ide",
"asar": true, "asar": true,
"generateUpdatesFilesForAllChannels": true, "generateUpdatesFilesForAllChannels": false,
"icon": "assets", "icon": "assets",
"files": [ "files": [
"build/**/*" "build/**/*"
@ -15,8 +15,7 @@
"owner": "remix-project-org", "owner": "remix-project-org",
"repo": "remix-desktop", "repo": "remix-desktop",
"releaseType": "draft", "releaseType": "draft",
"publishAutoUpdate": true, "publishAutoUpdate": true
"channel": "latest"
} }
], ],
"mac": { "mac": {

@ -18,7 +18,6 @@ export class AppUpdaterPlugin extends ElectronBasePlugin {
this.methods = [...super.methods] this.methods = [...super.methods]
autoUpdater.autoDownload = false autoUpdater.autoDownload = false
autoUpdater.channel = 'beta'
autoUpdater.disableDifferentialDownload = true autoUpdater.disableDifferentialDownload = true
autoUpdater.on('checking-for-update', () => { autoUpdater.on('checking-for-update', () => {

Loading…
Cancel
Save