Skip to content

Commit

Permalink
Merge pull request #77453 from m4gr3d/update_alpha_status_code_main
Browse files Browse the repository at this point in the history
Update the format for the app version code and name
  • Loading branch information
akien-mga committed May 25, 2023
2 parents 4c4bf58 + a041f96 commit d81b4a4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions platform/android/java/app/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,16 @@ ext.generateGodotLibraryVersion = { List<String> requiredKeys ->
String statusValue = map["status"]
if (statusValue == null) {
statusCode = 0
} else if (statusValue.startsWith("alpha") || statusValue.startsWith("dev")) {
} else if (statusValue.startsWith("dev")) {
statusCode = 1
} else if (statusValue.startsWith("beta")) {
} else if (statusValue.startsWith("alpha")) {
statusCode = 2
} else if (statusValue.startsWith("rc")) {
} else if (statusValue.startsWith("beta")) {
statusCode = 3
} else if (statusValue.startsWith("stable")) {
} else if (statusValue.startsWith("rc")) {
statusCode = 4
} else if (statusValue.startsWith("stable")) {
statusCode = 5
} else {
statusCode = 0
}
Expand Down

0 comments on commit d81b4a4

Please sign in to comment.