Colton Idle
05/06/2022, 4:33 PMrtsketo
05/06/2022, 6:46 PMmain
branch triggers the CI, the CI script passes a version to the Gradle and it produces the app with that version, uploads it to Google Play, etc. I don't see any benefit for counting the versions yourself. We still manually increase major and minor versions if needed, but build version is automated (Major.Minor.Build
, some call the last one Patch
).ephemient
05/06/2022, 7:55 PMchristophsturm
05/09/2022, 9:05 AMwith API diffing to control major.minorthat sounds awesome, how do you do it? is it a standard plugin?
ephemient
05/09/2022, 1:00 PMTyler McCraw
05/10/2022, 1:41 AMmain
branch: https://github.com/ReactiveCircus/app-versioning
This library automates the process of setting the build number and version name for us.
Version codes are set to a formula we use based on commits since the last git tag, so build numbers are always guaranteed to be unique.
Version names are set to the last git tag name. (e.g. "2.3.4")