Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
Fixing #9 again, needed to strip snapshots for release builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Thomas committed Jul 13, 2015
1 parent 53336c5 commit 45cd726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ buildscript {
String ver = props.getProperty("VERSION_NAME")
.replaceAll("(?=.)0(?=-|\$)", (String) System.env['TRAVIS_BUILD_NUMBER'] ?: "0")

if (System.env['TRAVIS_TAG']) {
ver = ver.replace("-SNAPSHOT", "")
}

repositories {
mavenLocal()
maven {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

VERSION_NAME = 1.3.0-SNAPSHOT
VERSION_NAME = 1.4.0-SNAPSHOT
VERSION_CODE = 1
GROUP = com.ToxicBakery.betterernaming

Expand Down

0 comments on commit 45cd726

Please sign in to comment.