Skip to content

Commit

Permalink
Change version check
Browse files Browse the repository at this point in the history
  • Loading branch information
joelea committed Mar 3, 2016
1 parent 14cfea5 commit f662c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bintray {

bintrayUpload.onlyIf {
System.out.println("Publishing with project version: " + project.version.toString())
System.env.BINTRAY_USER && System.env.BINTRAY_KEY && project.version.toString() ==~ /\d+\.\d+\.\d+/
System.env.BINTRAY_USER && System.env.BINTRAY_KEY && project.version.toString() ==~ /v?\d+\.\d+\.\d+/
}

bintrayUpload.dependsOn 'generatePomFileForBintrayPublication', 'build'
Expand Down

0 comments on commit f662c75

Please sign in to comment.