Forum Discussion
OwlchemyDawson
6 years agoHonored Guest
Query Latest Version Code of Uploaded Builds in Unity Editor
How can I query the latest version code of the builds I have uploaded to the Oculus Store page channels from the Unity Editor?
dan-gx
4 years agoExplorer
+1 this is important for being able to implement a decent deployment pipeline that can handle rollback with Oculus Platform Utility cli.
Can sort-of workaround this by intentionally failing setting an unused channel with a very old build in it and parsing the error.
e.g. to get the current release bundle version:
$ ./ovr-platform-util.exe set-release-channel-build --app_id <app_id> --app_secret <app_secret> source-channel ALPHA --destination-channel RELEASE > out.txt
Then regex parse the version code from out.txt
"ERROR: You are trying to add an APK with version code 12 to a release channel, but the previous APK on this channel has version code 80. The version code must be higher than the previous version code."
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device