r0adkll / upload-google-play

A GitHub action to upload an Android .apk or .aab file to the Google Play Console
MIT License
762 stars 138 forks source link

Ability to retain old versions of the apk #76

Open marin-marsic opened 3 years ago

marin-marsic commented 3 years ago

This is actually a question. I was wondering whether it is possible to somehow retain some apk versions when making a new release. If so, how, if not, is there a possibility for this feature to be added?

The Google Play Console supports this option. The use cases where this would be useful are:

Also, another way of solving this problem would be to make a draft release and then manually select the versions to retain on the Play Console. So maybe this would be another argument for adding the "draft" option.

boswelja commented 2 years ago

I'm under the impression keeping old AAB/APK is the default behaviour, but I can totally see this being something we can control

boswelja commented 1 year ago

Linking Edits tracks documentation for anyone interested in working on this: https://developers.google.com/android-publisher/api-ref/rest/v3/edits.tracks