diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e41857ad..5835f863da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ This is the log of notable changes to EAS CLI and related packages. ### ๐Ÿ› Bug fixes +- Resolve correct submit profile configuration for `eas build` command with `--auto-submit-with-profile` flag. ([#2425](https://github.com/expo/eas-cli/pull/2425) by [@szdziedzic](https://github.com/szdziedzic)) - Correctly parse the EXPO_APPLE_PROVIER_ID environment variable. ([#2349](https://github.com/expo/eas-cli/pull/2349) by [@louix](https://github.com/louix)) ### ๐Ÿงน Chores diff --git a/packages/eas-cli/src/build/runBuildAndSubmit.ts b/packages/eas-cli/src/build/runBuildAndSubmit.ts index 3721668276..41826335e2 100644 --- a/packages/eas-cli/src/build/runBuildAndSubmit.ts +++ b/packages/eas-cli/src/build/runBuildAndSubmit.ts @@ -258,6 +258,7 @@ export async function runBuildAndSubmitAsync( buildProfile: startedBuild.buildProfile.profile, submitProfile, nonInteractive: flags.nonInteractive, + selectedSubmitProfileName: flags.submitProfile, }); startedBuild.build = await BuildQuery.withSubmissionsByIdAsync( graphqlClient, @@ -453,6 +454,7 @@ async function prepareAndStartSubmissionAsync({ projectDir, buildProfile, submitProfile, + selectedSubmitProfileName, nonInteractive, }: { build: BuildFragment; @@ -461,6 +463,7 @@ async function prepareAndStartSubmissionAsync({ projectDir: string; buildProfile: BuildProfile; submitProfile: SubmitProfile; + selectedSubmitProfileName?: string; nonInteractive: boolean; }): Promise { const platform = toPlatform(build.platform); @@ -480,6 +483,7 @@ async function prepareAndStartSubmissionAsync({ exp: buildCtx.exp, vcsClient: buildCtx.vcsClient, isVerboseFastlaneEnabled: false, + specifiedProfile: selectedSubmitProfileName, }); if (moreBuilds) {