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 2021/07/27 07:02:28 UTC
[groovy-website] branch asf-site updated: don't delete .asf.yaml
when generating new site
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new dbb35ae don't delete .asf.yaml when generating new site
dbb35ae is described below
commit dbb35ae609e03b9ff8fb8cf5cb14c7523b2dce6d
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jul 27 17:02:10 2021 +1000
don't delete .asf.yaml when generating new site
---
site-dev/build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site-dev/build.gradle b/site-dev/build.gradle
index c0d406a..4797d00 100644
--- a/site-dev/build.gradle
+++ b/site-dev/build.gradle
@@ -157,7 +157,7 @@ task commitWebsite(dependsOn: webzip) {
// Delete the previous content. These are asf-site branch paths.
gitout.remove(patterns: ['.'])
- fileTree(stagingDevSite).exclude('.git').visit { delete it.file }
+ fileTree(stagingDevSite).exclude('.git', '.asf.yaml').visit { delete it.file }
assert !file("${stagingDevSite}/index.html").exists()
// Copy the built content and add it.