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 681e8b6  force removal of stale files
681e8b6 is described below

commit 681e8b6ae59c30b983a59b6894a742e198aab156
Author: Paul King <[email protected]>
AuthorDate: Thu Jan 30 12:35:44 2025 +1000

    force removal of stale files
---
 site-dev/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/site-dev/build.gradle b/site-dev/build.gradle
index aab75fb..bf19860 100644
--- a/site-dev/build.gradle
+++ b/site-dev/build.gradle
@@ -177,6 +177,7 @@ tasks.register('commitWebsite') {
         }
         assert file("${stagingDevSite}/index.html").exists()
         gitout.add(patterns: ['.'])
+        gitout.remove(patterns: gitout.status().unstaged.getRemoved())
 
         if (!gitout.status().staged.getAllChanges()) {
             println 'No changes to commit'

Reply via email to