@better-update/cli 0.19.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -32,7 +32,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
32
32
 
33
33
  //#endregion
34
34
  //#region package.json
35
- var version = "0.19.0";
35
+ var version = "0.19.1";
36
36
 
37
37
  //#endregion
38
38
  //#region src/lib/interactive-mode.ts
@@ -6901,10 +6901,13 @@ const runBuildWorkflow = (options) => Effect.scoped(Effect.gen(function* () {
6901
6901
  const projectId = yield* extractProjectId(baseConfig);
6902
6902
  const platform = yield* detectPlatform(options.platform, baseConfig);
6903
6903
  const profile = yield* readBuildProfile(userCwd, yield* resolveProfileName(userCwd, options.profileName));
6904
- const envVars = yield* pullEnvVars(api, {
6905
- projectId,
6906
- environment: profile.environment
6907
- });
6904
+ const envVars = {
6905
+ ...yield* pullEnvVars(api, {
6906
+ projectId,
6907
+ environment: profile.environment
6908
+ }),
6909
+ ...profile.env
6910
+ };
6908
6911
  yield* applyAutoIncrement({
6909
6912
  projectRoot: userCwd,
6910
6913
  platform,
@@ -7845,10 +7848,13 @@ const runUploadWorkflow = (options) => Effect.gen(function* () {
7845
7848
  if (!(yield* (yield* FileSystem.FileSystem).exists(options.artifactPath).pipe(Effect.orElseSucceed(() => false)))) yield* new ArtifactNotFoundError({ message: `Artifact not found at ${options.artifactPath}.` });
7846
7849
  const projectId = yield* extractProjectId(yield* readExpoConfig(projectRoot));
7847
7850
  const profile = yield* readBuildProfile(projectRoot, options.profileName);
7848
- const appMeta = yield* readAppMeta(yield* readExpoConfig(projectRoot, yield* pullEnvVars(api, {
7849
- projectId,
7850
- environment: profile.environment
7851
- })), options.platform);
7851
+ const appMeta = yield* readAppMeta(yield* readExpoConfig(projectRoot, {
7852
+ ...yield* pullEnvVars(api, {
7853
+ projectId,
7854
+ environment: profile.environment
7855
+ }),
7856
+ ...profile.env
7857
+ }), options.platform);
7852
7858
  const runtimeVersion = yield* resolveRuntimeVersion({
7853
7859
  raw: appMeta.rawRuntimeVersion,
7854
7860
  appVersion: appMeta.appVersion,