Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.13k stars 341 forks source link

Upload all bundle files in the artifacts directory #918

Closed panpeter closed 3 years ago

panpeter commented 3 years ago

This PR updates publishBundle and uploadPrivateBundle tasks. When artifactsDir is specified, both tasks will now upload all bundle files found in the artifacts directory.

✅ Tests pass ✅ Checked with real project ✅ Documentation verified (no update needed)

Closes: https://github.com/Triple-T/gradle-play-publisher/issues/914

SUPERCILEX commented 3 years ago

Hey, just wanted to let you know this week is super busy for me so I probably won't get to this for a few days. :)

panpeter commented 3 years ago

Ok, thanks for info 👍

SUPERCILEX commented 3 years ago

Thank you for creating such a well thought out PR, I really appreciate it. :)

There are a few other changes I'd like to make, but I'll try to create a release today or in the next few days.

panpeter commented 3 years ago

The code is well maintained so it was a pleasure to work with it 👌

And thanks for checking and merging this PR and publishing the new version 🚀

HasimD commented 1 year ago

Hello, thanks for the additions. How can we use this bundle directory, from wearable gradle file for example? @panpeter

panpeter commented 1 year ago

@HasimD one option is to copy all artifacts you want to publish to a temporary folder and then set artifactDir to this tmp folder as described here 👍

HasimD commented 1 year ago

I couldn't get if our cases match or not. In my case, when I try to publish version for app, it's working great. However when I do the same thing for wear platform, it fails. It tries to publish new wear version top on the app, this is the reason of failure. @panpeter @SUPERCILEX

and thank you for the answer.