geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject [geode] branch develop updated: GEODE-5723: Don't publish to maven repo unless SNAPSHOT. (#2453)
Date Tue, 11 Sep 2018 22:55:02 GMT
This is an automated email from the ASF dual-hosted git repository.

nnag pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4e099fe  GEODE-5723: Don't publish to maven repo unless SNAPSHOT. (#2453)
4e099fe is described below

commit 4e099fe1ab6fbe09973e2387b3e751949c9260ac
Author: Jacob Barrett <jbarrett@pivotal.io>
AuthorDate: Tue Sep 11 15:54:55 2018 -0700

    GEODE-5723: Don't publish to maven repo unless SNAPSHOT. (#2453)
    
    Co-authored-by: Dick Cavender <dcavender@pivotal.io>
    Co-authored-by: Jacob Barrett <jbarrett@pivotal.io>
---
 gradle/publish.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gradle/publish.gradle b/gradle/publish.gradle
index f0a169b..4237471 100644
--- a/gradle/publish.gradle
+++ b/gradle/publish.gradle
@@ -299,3 +299,12 @@ gradle.taskGraph.whenReady { taskGraph ->
     }
   }
 }
+
+
+allprojects {
+  afterEvaluate {
+    tasks.withType(PublishToMavenRepository) {
+      it.enabled = version.endsWith('SNAPSHOT')
+    }
+  }
+}


Mime
View raw message