You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/08/30 09:23:09 UTC

groovy-release git commit: add a skipPublish step

Repository: groovy-release
Updated Branches:
  refs/heads/master 7038d586f -> 605c6d0a6


add a skipPublish step


Project: http://git-wip-us.apache.org/repos/asf/groovy-release/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy-release/commit/605c6d0a
Tree: http://git-wip-us.apache.org/repos/asf/groovy-release/tree/605c6d0a
Diff: http://git-wip-us.apache.org/repos/asf/groovy-release/diff/605c6d0a

Branch: refs/heads/master
Commit: 605c6d0a60a6cffcdc26637fc159598df0592d84
Parents: 7038d58
Author: paulk <pa...@asert.com.au>
Authored: Wed Aug 30 19:22:51 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Wed Aug 30 19:22:51 2017 +1000

----------------------------------------------------------------------
 gradle/phase1.gradle | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy-release/blob/605c6d0a/gradle/phase1.gradle
----------------------------------------------------------------------
diff --git a/gradle/phase1.gradle b/gradle/phase1.gradle
index dcca0d8..9e8ddf3 100644
--- a/gradle/phase1.gradle
+++ b/gradle/phase1.gradle
@@ -146,9 +146,16 @@ task buildAndUpload(type: Exec, dependsOn: [assumesPropsSet, updateVersionProper
     } else {
         theArgs << './gradlew'
     }
+    if (project.hasProperty('useAntlr4')) {
+        theArgs << "-PuseAntlr4=${getProperty('useAntlr4')}"
+    }
     theArgs << "-PartifactoryContext=https://groovy.jfrog.io/groovy/"
     theArgs << "-PartifactoryRepoKey=${releaseBuild ? 'libs-release-local' : 'libs-snapshot-local'}"
-    theArgs += ['install', 'dist', 'artifactoryPublish']
+    if (project.hasProperty('skipPublish')) {
+        theArgs += ['install', 'dist']
+    } else {
+        theArgs += ['install', 'dist', 'artifactoryPublish']
+    }
     commandLine theArgs
 }