I use CI and CD to deploy my Apps on gplay. Prod and beta versions.
After you send your apk to gplay there is a time delay(~4hour) until your application will be available for download. And when it's available I need custom notification about it. For production version I have timer scheduler that parse gplay html and retrieve app version.
But how to find the version number for the beta?