From b19568aa8af865f7075f9266e324ffa6d12f32fd Mon Sep 17 00:00:00 2001 From: Ville Immonen Date: Thu, 17 Jun 2021 17:56:09 +0300 Subject: [PATCH 1/2] Add an internal distribution with dev client to `build:configure` defaults --- packages/eas-cli/src/build/configure.ts | 43 +++++++++++++++++++------ 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/packages/eas-cli/src/build/configure.ts b/packages/eas-cli/src/build/configure.ts index b645d4b36d..c1f8306707 100644 --- a/packages/eas-cli/src/build/configure.ts +++ b/packages/eas-cli/src/build/configure.ts @@ -65,6 +65,37 @@ export async function configureAsync(options: { } } +const MANAGED_DEFAULTS = { + release: { + workflow: 'managed', + }, + development: { + workflow: 'managed', + buildType: 'development-client', + distribution: 'internal', + }, +}; +const ANDROID_GENERIC_DEFAULTS = { + release: { + workflow: 'generic', + }, + development: { + workflow: 'generic', + gradleCommand: ':app:assembleDebug', + distribution: 'internal', + }, +}; +const IOS_GENERIC_DEFAULTS = { + release: { + workflow: 'generic', + }, + development: { + workflow: 'generic', + schemeBuildConfiguration: 'Debug', + distribution: 'internal', + }, +}; + export async function ensureEasJsonExistsAsync(ctx: ConfigureContext): Promise { const easJsonPath = path.join(ctx.projectDir, 'eas.json'); let existingEasJson; @@ -99,20 +130,12 @@ export async function ensureEasJsonExistsAsync(ctx: ConfigureContext): Promise Date: Thu, 17 Jun 2021 18:01:10 +0300 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63e1951a02..cf3caf0608 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This is the log of notable changes to EAS CLI and related packages. - Make credentials manager work with multi-target iOS projects. ([#441](https://github.com/expo/eas-cli/pull/441) by [@dsokal](https://github.com/dsokal)) - Copy over credentials from Expo Classic to EAS ([#445](https://github.com/expo/eas-cli/pull/445) by [@quinlanj](https://github.com/quinlanj)) - Add Big Sur image for iOS builds. ([#457](https://github.com/expo/eas-cli/pull/457) by [@wkozyra95](https://github.com/wkozyra95)) +- Add an internal distribution with dev client to `build:configure` defaults. ([#463](https://github.com/expo/eas-cli/pull/463) by [@fson](https://github.com/fson)) ### 🐛 Bug fixes