Repository: groovy-release
Updated Branches:
  refs/heads/master 15a6f849c -> 6ab8087ed


tweak version updating


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

Branch: refs/heads/master
Commit: 6ab8087ed5ff898d56253301fa9d6ce461a5ea77
Parents: 15a6f84
Author: paulk <pa...@asert.com.au>
Authored: Tue Mar 6 20:06:31 2018 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Tue Mar 6 20:06:31 2018 +1000

----------------------------------------------------------------------
 gradle/phase2.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy-release/blob/6ab8087e/gradle/phase2.gradle
----------------------------------------------------------------------
diff --git a/gradle/phase2.gradle b/gradle/phase2.gradle
index bb816cc..dc8bb40 100644
--- a/gradle/phase2.gradle
+++ b/gradle/phase2.gradle
@@ -223,6 +223,7 @@ task uploadDocumentationToGroovyWebsite(dependsOn: 
uploadToApacheReleaseServer)
                 execute "rm -rf /var/www/docs/docs/groovy-${relVersion}/"
                 execute "unzip -d /var/www/docs/docs/ 
/var/www/docs/docs/apache-groovy-docs-${relVersion}.zip"
                 execute "chgrp -R teamcity 
/var/www/docs/docs/groovy-${relVersion}/"
+//                execute "chown -R teamcity 
/var/www/docs/docs/groovy-${relVersion}/"
                 execute "rm 
/var/www/docs/docs/apache-groovy-docs-${relVersion}.zip"
             }
         }
@@ -279,7 +280,7 @@ task updateGroovySitemap(dependsOn: findGroovyVersions) {
         def sitemapFile = 
file("$stagingWebsiteDir/site/src/site/sitemap.groovy")
         def sitemapText = sitemapFile.text
         def newText = newRelease ? versionsText.replaceFirst(/(?sm)'\s*\]/, 
"',\n            '$relVersion'\n    \\]")
-                : versionsText.replaceFirst(/(?sm)(.*)('$baseVersion'[',. 
0-9]*)/, "\$1\$2, '$relVersion'")
+                : versionsText.replaceFirst(/(?sm)(.*)('$baseVersion'[',. 
0-9]*)/, "\$1\$2 '$relVersion',")
         sitemapText = sitemapText.replace(versionsText, newText)
         // TODO add download distributions section ...
         sitemapFile.text = sitemapText

Reply via email to