Merge branch 'main' into chore-electronegativity-audit

This commit is contained in:
Susmitha Girumala authored and GitHub committed 2021-03-15 11:27:38 -04:00
commit 45bf901d9e
2 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -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 => {
@@ -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: () => {