diff --git a/README.md b/README.md index 14b6f6a8..469428d8 100644 Binary files a/README.md and b/README.md differ diff --git a/app/build.gradle b/app/build.gradle index 3ac4c6a0..71568f70 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,8 +23,12 @@ applicationProperties.load(new FileInputStream(rootProject.file("application.pro def SHA1 = System.getenv("CIRCLE_SHA1") def applicationVersionCode = applicationProperties["versionCode"].toInteger() def applicationVersionName = applicationProperties["versionName"] +def isPerVersion = applicationProperties["isPerVersion"] == "true" if (SHA1 != null) { - applicationVersionName = applicationVersionName + "-${SHA1.substring(0, 8)}" + applicationVersionName = applicationVersionName + ".${SHA1.substring(0, 8)}" +} +if (isPerVersion) { + applicationVersionName = applicationVersionName + "-${applicationProperties["perVersion"]}" } andResGuard { diff --git a/application.properties b/application.properties index 350bb09a..d680c52e 100644 --- a/application.properties +++ b/application.properties @@ -1,2 +1,4 @@ versionCode=38006 -versionName=3.8.1-beta \ No newline at end of file +versionName=3.8.1 +isPerVersion=true +perVersion=beta1 \ No newline at end of file