airgvl
airgvl

Reputation: 31

Uploading deobfuscation mapping.txt to Google Play by yml scripts on Azure

I have established a pipeline on Azure to build and upload multiple build flavours onto Google Play with yml. And I would like to push the corresponding mapping.txt. However, I couldn't find any Azure resources on how to tackle this except feature requests which Ms have closed.

I have read build, test, and deploy Android apps, but it only provides means to upload mapping.txt to app center. I have also read Visual Studio Team Services Extension for Google Play, but it is an UI driven approach which does not fit my purpose as I am uploading multiple APKs by yml.

May I ask for your advice on how to approach this please?

Upvotes: 3

Views: 165

Answers (1)

idk.the.name
idk.the.name

Reputation: 106

Hope it helps:

  • task: GooglePlayRelease@4 inputs: serviceConnection: 'Google Play' applicationId: 'your package name' action: 'SingleApk' apkFile: "$(build.artifactStagingDirectory)/$(apkFilePath)" track: 'internal' shouldUploadMappingFile: true mappingFilePath: '$(mappingFilePath)' isDraftRelease: true

Upvotes: 0

Related Questions