Skip to content

Commit 61d9843

Browse files
committed
fix: hashes with --aab outputed in wrong directory
1 parent dac46b7 commit 61d9843

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
329329
let task;
330330
const gradleArgs = this.getGradleBuildOptions(buildConfig, projectData);
331331
const baseTask = buildConfig.androidBundle ? "bundle" : "assemble";
332+
const outputPath = buildConfig.androidBundle ? this._platformData.bundleBuildOutputPath : this._platformData.deviceBuildOutputPath;
332333
if (this.$logger.getLevel() === "TRACE") {
333334
gradleArgs.unshift("--stacktrace");
334335
gradleArgs.unshift("--debug");
@@ -357,7 +358,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
357358
})
358359
);
359360

360-
await this.$filesHashService.saveHashesForProject(this._platformData, this._platformData.deviceBuildOutputPath);
361+
await this.$filesHashService.saveHashesForProject(this._platformData, outputPath);
361362
}
362363

363364
private getGradleBuildOptions(settings: IAndroidBuildOptionsSettings, projectData: IProjectData): Array<string> {

0 commit comments

Comments
 (0)