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) {