chore(release): check prod release based on SHIPJS env var
This commit is contained in:
parent
6985fb6b38
commit
95a34ab020
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ function getBundleBanner(pkg) {
|
|||
const lastCommitHash = execSync('git rev-parse --short HEAD')
|
||||
.toString()
|
||||
.trim();
|
||||
const version = process.env.VERSION
|
||||
? process.env.VERSION
|
||||
const version = process.env.SHIPJS
|
||||
? pkg.version
|
||||
: `${pkg.version} (UNRELEASED ${lastCommitHash})`;
|
||||
const authors = '© Algolia, Inc. and contributors';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue