diff --git a/packages/basehub/CHANGELOG.md b/packages/basehub/CHANGELOG.md index 0816909..691b6c6 100644 --- a/packages/basehub/CHANGELOG.md +++ b/packages/basehub/CHANGELOG.md @@ -1,5 +1,11 @@ # basehub +## 3.1.1 + +### Patch Changes + +- use draft from .env if available + ## 3.1.0 ### Minor Changes diff --git a/packages/basehub/package.json b/packages/basehub/package.json index cee7cd9..8178174 100644 --- a/packages/basehub/package.json +++ b/packages/basehub/package.json @@ -2,7 +2,7 @@ "name": "basehub", "description": "The first AI-native content hub.", "author": "JB ", - "version": "3.1.0", + "version": "3.1.1", "license": "MIT", "repository": "basehub-ai/basehub", "bugs": "https://github.com/basehub-ai/basehub/issues", diff --git a/packages/basehub/src/bin/util/get-stuff-from-env.ts b/packages/basehub/src/bin/util/get-stuff-from-env.ts index fe54afb..8417642 100644 --- a/packages/basehub/src/bin/util/get-stuff-from-env.ts +++ b/packages/basehub/src/bin/util/get-stuff-from-env.ts @@ -175,8 +175,9 @@ export const getStuffFromEnv = (options) => { options.prefix ? `"${options.prefix}"` : undefined } || null; } - if (options.draft === undefined) { - options.draft = ${options.draft ? "true" : "false"}; + // we'll use the draft from .env if available + if (!options.draft && ${options.draft}) { + options.draft = true; } const buildEnvVarName = (name) => { diff --git a/playground/CHANGELOG.md b/playground/CHANGELOG.md index 827ab79..9ff0622 100644 --- a/playground/CHANGELOG.md +++ b/playground/CHANGELOG.md @@ -1,5 +1,12 @@ # playground +## 0.0.60 + +### Patch Changes + +- Updated dependencies + - basehub@3.1.1 + ## 0.0.59 ### Patch Changes diff --git a/playground/package.json b/playground/package.json index 4b91456..213ed36 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,7 +1,7 @@ { "name": "playground", "private": true, - "version": "0.0.59", + "version": "0.0.60", "scripts": { "dev": "next dev", "build": "next build",