Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Build for production profile every time?

Discussion in 'Addressables' started by Gamrek, Dec 3, 2021.

  1. Gamrek

    Gamrek

    Joined:
    Sep 28, 2010
    Posts:
    164
    Hello all,

    Currently I have two buckets setup, one is for production (for public to download) and other one is for internal testing. Therefore I have two profiles setup one for production bucket and other one for test bucket. Right now, the current workflow is this

    1. Build Addressable and upload them to the test bucket
    2. Build a APK that use the test bucket profile and upload the APK to Google Play Console for internal testing
    3. Test
    4. Test complete, build a APK that use the product bucket profile
    5. Upload the APK to Google Play Console for production release
    6. Approve and move the content from the test bucket to the production bucket
    7. Release the APK to public

    I just wonder if there is any way that can avoid me to build at least twice? That was a time that I almost forgot to switch to production profile to build the APK and release it to the public.

    Ideally I hope that I can do something like this:
    1. Build Addressable and upload them to the test bucket or specific tag
    2. Build a APK and upload it to Google Play Console for internal testing
    3. Test using test bucket or specific tag
    4. Test complete, move the current APK to production release on Google Play Console
    5. Approve
    6. Release the APK to public and point the production release to use the production bucket or specific tag

    I am not sure if this is possible. But I hope I can have a way to avoid making the same mistake again. Thanks in advance.