From b1568aa30f0ad0d7cf6a93ed4c7f252407120567 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 15 Apr 2021 09:08:21 -0400 Subject: [PATCH 1/2] chore: Set current version to 1.0.0 for release --- ui/desktop/electron-app/src/app-updater.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/desktop/electron-app/src/app-updater.js b/ui/desktop/electron-app/src/app-updater.js index 6d02c5b0b..6409ef198 100644 --- a/ui/desktop/electron-app/src/app-updater.js +++ b/ui/desktop/electron-app/src/app-updater.js @@ -4,11 +4,12 @@ const https = require('https'); const semver = require('semver'); const { parse } = require('node-html-parser'); const { autoUpdater, dialog } = require('electron'); -const { releaseVersion } = require('../config/forge.config.js'); +// TODO: Pickup app release version from config file +// const { releaseVersion } = require('../config/forge.config.js'); const debug = process.env.DEBUG_APP_UPDATER; const releasesUrl = 'https://releases.hashicorp.com/boundary-desktop/'; -let currentVersion = releaseVersion; +let currentVersion = '1.0.0'; if (debug && process.env.APP_UPDATER_CURRENT_VERSION) { currentVersion = process.env.APP_UPDATER_CURRENT_VERSION; } @@ -143,7 +144,7 @@ module.exports = { const location = process.env.APP_UPDATER_LATEST_VERSION_LOCATION; if (debug && location) { // Support hosted url and file paths - displayDownloadPrompt(latestVersion, location.match(/^https/i) ? location : `file://${location}`); + displayDownloadPrompt(latestVersion, location.match(/^http/i) ? location : `file://${location}`); return; } From 859a3fdd83e896338878cfc8072c91a0c9ccb0e6 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 15 Apr 2021 09:13:54 -0400 Subject: [PATCH 2/2] chore: Bump cli to 0.2.0 --- ui/desktop/electron-app/config/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/electron-app/config/cli.js b/ui/desktop/electron-app/config/cli.js index 8195701a9..9ebc26ea7 100644 --- a/ui/desktop/electron-app/config/cli.js +++ b/ui/desktop/electron-app/config/cli.js @@ -4,7 +4,7 @@ const https = require('https'); const decompress = require('decompress'); const os = require('os'); -const artifactVersion = '0.1.8'; +const artifactVersion = '0.2.0'; const artifactDestination = path.resolve(__dirname, '..', 'cli'); const downloadArtifact = version => {