This is an automated email from the ASF dual-hosted git repository. twolf pushed a commit to branch dev_3.0 in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/dev_3.0 by this push: new 1d53591f5 [site] Remove japicmp generation timestamps 1d53591f5 is described below commit 1d53591f53f0178d5b6c01f6e0124a6ddbbd6679 Author: Thomas Wolf <tw...@apache.org> AuthorDate: Tue Apr 22 21:29:04 2025 +0200 [site] Remove japicmp generation timestamps These timestamps cause a new site to be published on every push to branch dev_3.0. Remove them so that we get only updates of the site when the content changes (or on the first push of a day, since there is also the "Last published at" date). --- sshd-site/src/main/groovy/patch.groovy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sshd-site/src/main/groovy/patch.groovy b/sshd-site/src/main/groovy/patch.groovy index 380b136ae..8dafd69b3 100644 --- a/sshd-site/src/main/groovy/patch.groovy +++ b/sshd-site/src/main/groovy/patch.groovy @@ -39,3 +39,12 @@ names.sort().each() { name -> } site.text = siteContent + +reports.each() { file -> + def name = file.name + if (name.startsWith("japicmp-")) { + log.info("Removing generation timestamp from ${name}") + def content = file.text + file.text = content.replaceFirst("___\\R\\R\\*Generated on[^\n\r]*", "") + } +}