From 3a38040680f51bce8eaa3ebfebc0aaf6e2bab3ae Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Mon, 1 Feb 2021 09:48:21 -0500 Subject: [PATCH] chore: Do not allow boundary artifact version to be passedin Remove BOUNDARY_ARTIFACT_VERSION env var. Instead, define artifact version in electron forge config to allow trackable version upgrades. --- ui/desktop/electron-app/config/forge.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/desktop/electron-app/config/forge.config.js b/ui/desktop/electron-app/config/forge.config.js index bbceb37f3..e8cde84b0 100644 --- a/ui/desktop/electron-app/config/forge.config.js +++ b/ui/desktop/electron-app/config/forge.config.js @@ -27,9 +27,7 @@ module.exports = { } // Download boundary - let artifactVersion = '0.1.4'; - if (process.env.BOUNDARY_ARTIFACT_VERSION) artifactVersion = process.env.BOUNDARY_ARTIFACT_VERSION; - + const artifactVersion = '0.1.4'; const url = `https://releases.hashicorp.com/boundary/${artifactVersion}/boundary_${artifactVersion}_darwin_amd64.zip`; const artifactPath = await downloadArtifact(url);