Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicBakery committed Jan 14, 2019
1 parent 5f78bd0 commit 82af623
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,3 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}

allprojects {
String tagName = System.getenv('CIRCLE_TAG')
boolean isTag = tagName != null && !tagName.isEmpty()
String buildNumber = System.getenv('CIRCLE_BUILD_NUM') ?: "0"

group 'com.ToxicBakery.viewpager.transforms'
version "1.3.${buildNumber}" + (isTag ? "" : "-SNAPSHOT")

repositories {
jcenter()
google()
}
}

0 comments on commit 82af623

Please sign in to comment.