groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy-release git commit: add some more output/notes during execution
Date Wed, 28 Mar 2018 00:25:40 GMT
Repository: groovy-release
Updated Branches:
  refs/heads/master a842d10ba -> 3704a52f8


add some more output/notes during execution


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

Branch: refs/heads/master
Commit: 3704a52f8b25fc48212c2872b84d9624589b725b
Parents: a842d10
Author: Paul King <paulk@asert.com.au>
Authored: Wed Mar 28 10:25:20 2018 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Wed Mar 28 10:25:20 2018 +1000

----------------------------------------------------------------------
 gradle/phase2.gradle | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy-release/blob/3704a52f/gradle/phase2.gradle
----------------------------------------------------------------------
diff --git a/gradle/phase2.gradle b/gradle/phase2.gradle
index dc8bb40..7cdcc17 100644
--- a/gradle/phase2.gradle
+++ b/gradle/phase2.gradle
@@ -128,6 +128,11 @@ task synchronizeWithMavenCentral(dependsOn: promoteOnBintray) {
     group = "Post-passed phase"
     description = "Syncs with Maven Central/Sonatype"
     doLast {
+        println """
+Synchronizing with Maven central. This may take a few minutes ...
+If this fails, log on to http://oss.sonatype.org/ using the centralUser credentials
+and progress through process manually -> Close -> Publish ... under staging repositories
+"""
         def bintray = new RESTClient('https://api.bintray.com/maven_central_sync/groovy/maven/')
         bintray.headers['Authorization'] = 'Basic ' + "$bintrayUser:$bintrayKey".getBytes('iso-8859-1').encodeBase64()
         def body = /{
@@ -210,6 +215,12 @@ task uploadToApacheReleaseServer(dependsOn: [commitDeleteFromDevSvn,
commitAddTo
     // svntools has no move so add and delete explicitly
     group = "Post-passed phase"
     description = "Moves the artifacts from the DEV svn repo to the RELEASE svn repo"
+    doLast {
+        println """
+Once the release has been announced and mirrors have the latest artifacts, please remove
old versions manually
+from ASF svn servers - they will remain automatically on the archive servers.
+"""
+    }
 }
 
 task uploadDocumentationToGroovyWebsite(dependsOn: uploadToApacheReleaseServer) {
@@ -328,6 +339,7 @@ task publishToSDKman(dependsOn: [waitForWebsitePublication, maybeUpdateDocumenta
     description = "Publishes the release on SDKman"
 }
 
+sdkDefaultVersion.dependsOn findGroovyVersions
 task makeDefaultOnSDKman(dependsOn: [publishToSDKman, sdkDefaultVersion]) {
     group = "Post-passed phase"
     description = "Make it the default version on SDKman"


Mime
View raw message