Skip to content

Commit

Permalink
Merge pull request #7721 from brave/mplesa-jenkins-android-core-githu…
Browse files Browse the repository at this point in the history
…b-upload

added github upload for android apks
  • Loading branch information
mihaiplesa authored Jan 15, 2020
2 parents 1ab15a6 + e4b77a6 commit 9cdf24b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/commands/lib/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const upload = (options) => {
cmdOptions.cwd = config.projects['brave-core'].dir
// use system python because depot tools fails on upload with TLS error
cmdOptions.env = config.addPathToEnv(cmdOptions.env, process.env.PATH, true)
util.run('python', ['script/upload.py', '-v', 'v' + config.releaseTag], cmdOptions)
util.run('python', ['script/upload.py', '-v', 'v' + config.releaseTag, '--target_os', config.targetOS, '--target_arch', config.targetArch, '--target_apk_base', config.targetApkBase], cmdOptions)
}

module.exports = upload
Expand Down
2 changes: 2 additions & 0 deletions build/commands/scripts/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ program

program
.command('upload')
.option('--target_os <target_os>', 'target OS')
.option('--target_arch <target_arch>', 'target architecture')
.option('--target_apk_base <target_apk_base>', 'target Android OS apk (classic, modern, mono)', 'classic')
.action(upload)

program
Expand Down

0 comments on commit 9cdf24b

Please sign in to comment.