Skip to content

Commit

Permalink
Merge pull request #81 from LISTENAI/feature/env-support-update-beta
Browse files Browse the repository at this point in the history
Feature/env support update beta
  • Loading branch information
monsterboom authored Sep 26, 2022
2 parents 82539a2 + 3736d93 commit 98a0b8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lisa-plugin/zephyr",
"version": "1.6.3",
"version": "1.6.4-beta.2",
"description": "LISA plugin for Zephyr",
"main": "./lib/main.js",
"engines": {
Expand Down
5 changes: 4 additions & 1 deletion src/tasks/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ export default ({ application, cmd, got }: LisaType) => {
target = envs.length > 0 ? envs : current;
}
if (target.length > 0) {

const beta = process.env.LISA_ENV === 'debug' ? '@beta' : '';

await exec(
"lisa",
[
"install",
...target.map((name) => `@lisa-env/${name}`),
...target.map((name) => `@lisa-env/${name}${beta}`),
"--loglevel",
"info",
],
Expand Down

0 comments on commit 98a0b8c

Please sign in to comment.