File tree Expand file tree Collapse file tree
packages/build-tools/src/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,14 @@ export async function uploadEmbeddedBundleAsync(ctx: BuildContext<BuildJob>): Pr
2626 const channel = ctx . job . updates ?. channel ;
2727 const projectDir = ctx . getReactNativeProjectDirectory ( ) ;
2828
29- const archivePattern =
30- platform === Platform . IOS
31- ? resolveArtifactPath ( ctx as BuildContext < Ios . Job > )
32- : ( ( ctx as BuildContext < Android . Job > ) . job . applicationArchivePath ??
33- 'android/app/build/outputs/**/*.{apk,aab}' ) ;
29+ let archivePattern : string ;
30+ if ( platform === Platform . IOS ) {
31+ archivePattern = resolveArtifactPath ( ctx as BuildContext < Ios . Job > ) ;
32+ } else {
33+ archivePattern =
34+ ( ctx as BuildContext < Android . Job > ) . job . applicationArchivePath ??
35+ 'android/app/build/outputs/**/*.{apk,aab}' ;
36+ }
3437
3538 const [ archivePath ] = await findArtifacts ( {
3639 rootDir : projectDir ,
You can’t perform that action at this time.
0 commit comments