Commit graph

4 commits

Author SHA1 Message Date
Marc Durdin
9798f86b16 chore(android): rework versionCode system
We now generate a versionCode directly from the release version number,
and this is what we use for Google Play Store to ensure that we have
an always-incrementing version number.
2020-12-15 06:31:01 +11:00
Darcy Wong
fe09ac73fe fix(android/app): Fix environment portion of app version string
When displaying the Info page of alpha builds from the Play Store, we noticed the version string displayed the wrong environment:
`14.0.X-alpha-local` (CI builds should have ended with `-alpha`).

It turns out  the `VERSION_` shell variables  from `build-utils.sh` aren't visible in `version.gradle` (though CI environment variables like `build_counter` are visible).

This PR:
* Exports the two VERSION strings needed in version.gradle
* Updates the Info page to simply display `BuildConfig.VERSION_NAME`
2020-08-06 10:34:26 +07:00
Marc Durdin
b5f32fbbaf fix(android): use environment and version-with-tag for sentry 2020-04-28 11:34:22 +10:00
Marc Durdin
742aee39d7 chore(android): use new version infrastructure 2020-01-29 08:55:19 +11:00