Skip to content

Commit 78f9f72

Browse files
committed
Pass correct release arguments to run command
#2903
1 parent e3ce4e6 commit 78f9f72

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/commands/run.ts

+10-2
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,18 @@ export class RunCommandBase implements ICommand {
8888
const runPlatformOptions: IRunPlatformOptions = {
8989
device: this.$options.device,
9090
emulator: this.$options.emulator,
91-
justlaunch: this.$options.justlaunch,
91+
justlaunch: this.$options.justlaunch
9292
};
9393

94-
const deployOptions = _.merge<IDeployPlatformOptions>({ projectDir: this.$projectData.projectDir, clean: true }, this.$options);
94+
const deployOptions = _.merge<IDeployPlatformOptions>({
95+
projectDir: this.$projectData.projectDir,
96+
clean: true,
97+
release: this.$options.release,
98+
keyStoreAlias: this.$options.keyStoreAlias,
99+
keyStoreAliasPassword: this.$options.keyStoreAliasPassword,
100+
keyStorePassword: this.$options.keyStorePassword,
101+
keyStorePath: this.$options.keyStorePath
102+
}, this.$options);
95103

96104
await this.$platformService.deployPlatform(args[0], this.$options, deployOptions, this.$projectData, this.$options);
97105
await this.$platformService.startApplication(args[0], runPlatformOptions, this.$projectData.projectId);

0 commit comments

Comments
 (0)