groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy-release] branch master updated: use :site-user
Date Sun, 14 Jul 2019 06:42:01 GMT
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 5982078  use :site-user
5982078 is described below

commit 5982078dc8824656af26aa1b23b86d84335edd7e
Author: Paul King <paulk@asert.com.au>
AuthorDate: Sun Jul 14 16:41:50 2019 +1000

    use :site-user
---
 gradle/adhoc.gradle | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gradle/adhoc.gradle b/gradle/adhoc.gradle
index 7f7a462..d347871 100644
--- a/gradle/adhoc.gradle
+++ b/gradle/adhoc.gradle
@@ -47,20 +47,21 @@ task websiteBuild(type: Exec, dependsOn: [assumesRelVersion, checkoutGroovyWebsi
     } else {
         theArgs += ['sh', './gradlew']
     }
-    theArgs << 'webzip'
+    theArgs << ':site-dev:webzip'
+    theArgs << ':site-user:webzip'
     commandLine theArgs
 }
 
 // NOTE: not normally needed as part of a release since the CI server does
 // this automatically upon commit of the changed website
-task websitePublish(dependsOn: websiteBuild) {
+task websitePublishUserSite(dependsOn: websiteBuild) {
     description = "Manual upload of documentation to the Groovy website server"
     doLast {
         println "WARNING: result might be overridden by CI server"
         ssh.run {
             session(remotes.ciServer) {
                 execute 'uname -a'
-                file("$stagingWebsiteDir/site/build/site").listFiles().each {
+                file("$stagingWebsiteDir/site-user/build/site").listFiles().each {
                     put from: it, into: '/var/www/beta'
                 }
 //                execute 'chgrp -R teamcity /var/www/beta'


Mime
View raw message