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.
This commit is contained in:
Susmitha Girumala committed 2021-02-01 09:48:21 -05:00
1 parent a07a2f5715
commit 3a38040680
1 file changed
+1 -3
@@ -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);