diff --git a/ui/desktop/electron-app/config/cli.js b/ui/desktop/electron-app/config/cli.js index b3a24e434..1badbfbcc 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.6'; +const artifactVersion = '0.1.8'; const artifactDestination = path.resolve(__dirname, '..', 'cli'); const downloadArtifact = version => { diff --git a/ui/desktop/electron-app/config/forge.config.js b/ui/desktop/electron-app/config/forge.config.js index 032e93283..4151023de 100644 --- a/ui/desktop/electron-app/config/forge.config.js +++ b/ui/desktop/electron-app/config/forge.config.js @@ -6,12 +6,17 @@ const formattedCLIVersion = version().formatted; const appVersion = process.env.RELEASE_VERSION ? `Version: ${process.env.RELEASE_VERSION}\n` : ''; -const appCommit = process.env.COMMIT - ? `Commit: ${process.env.COMMIT}\n` +const appCommit = process.env.RELEASE_COMMIT + ? `Commit: ${process.env.RELEASE_COMMIT}\n` : ''; const formattedAppVersion = `${appVersion}${appCommit}`; +// Output version strings for debugging +console.log('\n\nVersion Env Vars:'); +console.log('RELEASE_VERSION ', process.env.RELEASE_VERSION); +console.log('RELEASE_COMMIT ', process.env.RELEASE_COMMIT); + module.exports = { hooks: { prePackage: () => {