From 747543a6f94052fd63ec37ed9de9dc987e935d21 Mon Sep 17 00:00:00 2001 From: Tianyun Zhang Date: Sun, 9 Dec 2018 22:50:50 +0800 Subject: [PATCH] v0.1 ready --- .gitignore | 2 ++ app/build.gradle | 4 ++-- app/version.properties | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fea3480..73657ec 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,5 @@ fastlane/screenshots fastlane/test_output fastlane/readme.md app/debug/ + +app/release/ diff --git a/app/build.gradle b/app/build.gradle index 0eac494..0c61cad 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,7 +7,7 @@ android { def value = 0 Properties versionProps = new Properties() if (!versionPropsFile.exists()) { - versionProps['VERSION_PATCH'] = "0" + versionProps['VERSION_PATCH'] = "-1" versionProps['VERSION_NUMBER'] = "0" versionProps['VERSION_BUILD'] = "-1" // I set it to minus one so the first build is 0 which isn't super important. @@ -15,7 +15,7 @@ android { } def runTasks = gradle.startParameter.taskNames - if ('assembleRelease' in runTasks) { + if (':app:assembleRelease' in runTasks) { value = 1 } diff --git a/app/version.properties b/app/version.properties index 8bc8623..df4a627 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,4 +1,4 @@ -#Sun Dec 09 22:38:05 CST 2018 -VERSION_NUMBER=0 -VERSION_BUILD=227 +#Sun Dec 09 22:49:32 CST 2018 +VERSION_NUMBER=1 +VERSION_BUILD=235 VERSION_PATCH=0