Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

Commit

Permalink
v0.1 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
doowzs committed Dec 9, 2018
1 parent 50259c5 commit 747543a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ fastlane/screenshots
fastlane/test_output
fastlane/readme.md
app/debug/

app/release/
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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.
versionProps.store(versionPropsFile.newWriter(), null)
}

def runTasks = gradle.startParameter.taskNames
if ('assembleRelease' in runTasks) {
if (':app:assembleRelease' in runTasks) {
value = 1
}

Expand Down
6 changes: 3 additions & 3 deletions app/version.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 747543a

Please sign in to comment.