@better-update/cli 0.18.4 → 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.18.4";
35
+ var version = "0.19.1";
36
36
 
37
37
  //#endregion
38
38
  //#region src/lib/interactive-mode.ts
@@ -803,6 +803,7 @@ const CreateBuildCommonFields = {
803
803
  bundleId: Schema.optional(Schema.String),
804
804
  gitRef: Schema.optional(Schema.String),
805
805
  gitCommit: Schema.optional(Schema.String),
806
+ gitDirty: Schema.optional(Schema.Boolean),
806
807
  message: Schema.optional(Schema.String),
807
808
  metadata: Schema.optional(Schema.Record({
808
809
  key: Schema.String,
@@ -824,6 +825,7 @@ var Build = class extends Schema.Class("Build")({
824
825
  bundleId: Schema.NullOr(Schema.String),
825
826
  gitRef: Schema.NullOr(Schema.String),
826
827
  gitCommit: Schema.NullOr(Schema.String),
828
+ gitDirty: Schema.Boolean,
827
829
  message: Schema.NullOr(Schema.String),
828
830
  metadataJson: Schema.String,
829
831
  fingerprintHash: Schema.NullOr(Schema.String),
@@ -5985,6 +5987,7 @@ const buildReserveCommon = (input) => ({
5985
5987
  ...input.buildNumber === void 0 ? {} : { buildNumber: input.buildNumber },
5986
5988
  ...input.gitContext.ref === void 0 ? {} : { gitRef: input.gitContext.ref },
5987
5989
  ...input.gitContext.commit === void 0 ? {} : { gitCommit: input.gitContext.commit },
5990
+ gitDirty: input.gitContext.dirty,
5988
5991
  ...input.message === void 0 ? {} : { message: input.message },
5989
5992
  ...input.fingerprintHash === void 0 ? {} : { fingerprintHash: input.fingerprintHash }
5990
5993
  });
@@ -6898,10 +6901,13 @@ const runBuildWorkflow = (options) => Effect.scoped(Effect.gen(function* () {
6898
6901
  const projectId = yield* extractProjectId(baseConfig);
6899
6902
  const platform = yield* detectPlatform(options.platform, baseConfig);
6900
6903
  const profile = yield* readBuildProfile(userCwd, yield* resolveProfileName(userCwd, options.profileName));
6901
- const envVars = yield* pullEnvVars(api, {
6902
- projectId,
6903
- environment: profile.environment
6904
- });
6904
+ const envVars = {
6905
+ ...yield* pullEnvVars(api, {
6906
+ projectId,
6907
+ environment: profile.environment
6908
+ }),
6909
+ ...profile.env
6910
+ };
6905
6911
  yield* applyAutoIncrement({
6906
6912
  projectRoot: userCwd,
6907
6913
  platform,
@@ -7842,10 +7848,13 @@ const runUploadWorkflow = (options) => Effect.gen(function* () {
7842
7848
  if (!(yield* (yield* FileSystem.FileSystem).exists(options.artifactPath).pipe(Effect.orElseSucceed(() => false)))) yield* new ArtifactNotFoundError({ message: `Artifact not found at ${options.artifactPath}.` });
7843
7849
  const projectId = yield* extractProjectId(yield* readExpoConfig(projectRoot));
7844
7850
  const profile = yield* readBuildProfile(projectRoot, options.profileName);
7845
- const appMeta = yield* readAppMeta(yield* readExpoConfig(projectRoot, yield* pullEnvVars(api, {
7846
- projectId,
7847
- environment: profile.environment
7848
- })), 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);
7849
7858
  const runtimeVersion = yield* resolveRuntimeVersion({
7850
7859
  raw: appMeta.rawRuntimeVersion,
7851
7860
  appVersion: appMeta.appVersion,