From d8306c3216fbeb2262d5cf47716db932e90f7ec2 Mon Sep 17 00:00:00 2001 From: George Campbell Date: Mon, 14 Sep 2015 16:04:34 -0700 Subject: [PATCH] allow release from HEAD --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 45ba40e..cdf240a 100644 --- a/build.gradle +++ b/build.gradle @@ -12,3 +12,13 @@ dependencies { testCompile 'org.mockito:mockito-core:1.8.5' } +// support for snapshot/final releases with the various branches RxJava uses +nebulaRelease { + addReleaseBranchPattern(/\d+\.\d+\.\d+/) + addReleaseBranchPattern('HEAD') +} + +if (project.hasProperty('release.useLastTag')) { + tasks.prepare.enabled = false +} +