mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(ci): Decouple versioncode (#2393)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
db17815576
commit
1f0beb0fdd
4 changed files with 40 additions and 3 deletions
|
|
@ -52,8 +52,8 @@ android {
|
|||
applicationId = Configs.APPLICATION_ID
|
||||
minSdk = Configs.MIN_SDK_VERSION
|
||||
targetSdk = Configs.TARGET_SDK
|
||||
versionCode =
|
||||
Configs.VERSION_CODE // format is Mmmss (where M is 1+the numeric major number)
|
||||
versionCode = System.getenv("VERSION_CODE")?.toIntOrNull()
|
||||
?: 1
|
||||
versionName = Configs.VERSION_NAME
|
||||
testInstrumentationRunner = "com.geeksville.mesh.TestRunner"
|
||||
buildConfigField("String", "MIN_FW_VERSION", "\"${Configs.MIN_FW_VERSION}\"")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue