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/10/05 23:12:01 UTC

groovy-release git commit: tweak release based on 2.5.0-beta-2

Repository: groovy-release
Updated Branches:
  refs/heads/master b3b8a91f6 -> 8a34617a9


tweak release based on 2.5.0-beta-2


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

Branch: refs/heads/master
Commit: 8a34617a90fadcf95b562468eccfdfaf7716f67f
Parents: b3b8a91
Author: paulk <pa...@asert.com.au>
Authored: Fri Oct 6 09:11:49 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Fri Oct 6 09:11:49 2017 +1000

----------------------------------------------------------------------
 gradle/phase2.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy-release/blob/8a34617a/gradle/phase2.gradle
----------------------------------------------------------------------
diff --git a/gradle/phase2.gradle b/gradle/phase2.gradle
index 9546405..bb816cc 100644
--- a/gradle/phase2.gradle
+++ b/gradle/phase2.gradle
@@ -129,7 +129,7 @@ task synchronizeWithMavenCentral(dependsOn: promoteOnBintray) {
     description = "Syncs with Maven Central/Sonatype"
     doLast {
         def bintray = new RESTClient('https://api.bintray.com/maven_central_sync/groovy/maven/')
-//        bintray.headers['Authorization'] = 'Basic ' + "$bintrayUser:$bintrayKey".getBytes('iso-8859-1').encodeBase64()
+        bintray.headers['Authorization'] = 'Basic ' + "$bintrayUser:$bintrayKey".getBytes('iso-8859-1').encodeBase64()
         def body = /{
             "username" : "${project.findProperty('centralUser')}",
             "password" : "${project.findProperty('centralKey')}"
@@ -245,7 +245,7 @@ task findGroovyVersions(dependsOn: checkoutGroovyWebsite) {
         def sitemapFile = file("$stagingWebsiteDir/site/src/site/sitemap.groovy")
         def matcher = sitemapFile.text =~ /(?ism).*groovyDocumentationVersions\(([^)]*)\).*/
         assert matcher[0]
-        def versionsText = matcher[0][1]
+        rootProject.ext.versionsText = matcher[0][1]
         def majorMinor = { String s -> s.split(/\./).with{ it[0].toInteger() * 100 + it[1].toInteger() } }
         def versions = Eval.me(versionsText)
         def relMajorMinor = majorMinor(relVersion)