You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nn...@apache.org on 2018/09/11 22:57:17 UTC
[geode] branch release/1.7.0 updated: GEODE-5723: Don't publish to
maven repo unless SNAPSHOT. (#2453)
This is an automated email from the ASF dual-hosted git repository.
nnag pushed a commit to branch release/1.7.0
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/release/1.7.0 by this push:
new c637193 GEODE-5723: Don't publish to maven repo unless SNAPSHOT. (#2453)
c637193 is described below
commit c637193aa61abdfd236ae36b6d9a228fc1e84bcd
Author: Jacob Barrett <jb...@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 <dc...@pivotal.io>
Co-authored-by: Jacob Barrett <jb...@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')
+ }
+ }
+}