Fix track determine

This commit is contained in:
世界 2024-02-28 15:07:49 +08:00
parent 39d68dc51d
commit c8db11f062
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -138,7 +138,7 @@ if (playCredentialsJSON.exists()) {
play { play {
serviceAccountCredentials = playCredentialsJSON serviceAccountCredentials = playCredentialsJSON
defaultToAppBundles = true defaultToAppBundles = true
def version = getProps("VERSION_NAME") def version = getVersionProps("VERSION_NAME")
if (version.contains("alpha") || version.contains("beta") || version.contains("rc")) { if (version.contains("alpha") || version.contains("beta") || version.contains("rc")) {
track = "beta" track = "beta"
} else { } else {