Compare commits

...
3 changed files with 11 additions and 14 deletions

No files matched your search

+6 -2
View File
@@ -10,10 +10,14 @@ This is the log of notable changes to EAS CLI and related packages.
### 🐛 Bug fixes
- Pass `platform` argument to expo-cli correctly when using the `eas update` command. ([#2028](https://github.com/expo/eas-cli/pull/2028) by [@szdziedzic](https://github.com/szdziedzic))
### 🧹 Chores
## [5.0.1](https://github.com/expo/eas-cli/releases/tag/v5.0.1) - 2023-08-28
### 🐛 Bug fixes
- Pass `platform` argument to expo-cli correctly when using the `eas update` command. ([#2028](https://github.com/expo/eas-cli/pull/2028) by [@szdziedzic](https://github.com/szdziedzic))
## [5.0.0](https://github.com/expo/eas-cli/releases/tag/v5.0.0) - 2023-08-28
### 🛠 Breaking changes
@@ -86,11 +86,7 @@ export default class UpdateRollBackToEmbedded extends EasCommand {
}),
platform: Flags.enum({
char: 'p',
options: [
// TODO: Add web when it's fully supported
...defaultPublishPlatforms,
'all',
],
options: [...defaultPublishPlatforms, 'all'],
default: 'all',
required: false,
}),
+4 -7
View File
@@ -193,11 +193,6 @@ export async function buildBundlesAsync({
throw new Error('Could not locate package.json');
}
const platformArgs =
platformFlag === 'all'
? ['--platform', 'ios', '--platform', 'android']
: ['--platform', platformFlag];
if (shouldUseVersionedExpoCLI(projectDir, exp)) {
await expoCommandAsync(projectDir, [
'export',
@@ -205,7 +200,8 @@ export async function buildBundlesAsync({
inputDir,
'--dump-sourcemap',
'--dump-assetmap',
...platformArgs,
'--platform',
platformFlag,
...(clearCache ? ['--clear'] : []),
]);
} else {
@@ -218,7 +214,8 @@ export async function buildBundlesAsync({
'--non-interactive',
'--dump-sourcemap',
'--dump-assetmap',
...platformArgs,
'--platform',
platformFlag,
...(clearCache ? ['--clear'] : []),
]);
}