This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 20a4f48  [skip ci] set files and directories to the same date, 
visiting files first
20a4f48 is described below

commit 20a4f4827ba3bd5532e856b2d1e6a363f35a4026
Author: James Daugherty <[email protected]>
AuthorDate: Sun Jun 1 03:15:25 2025 -0400

    [skip ci] set files and directories to the same date, visiting files first
---
 .github/workflows/release.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1a17268..a727289 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,7 +42,7 @@ jobs:
           echo "SOURCE_DATE_EPOCH=$(cat BUILD_DATE)" >> "$GITHUB_ENV"
       - name: "Ensure source files use common date"
         run: |
-          find . -type f -exec touch -d "@${SOURCE_DATE_EPOCH}" {} +
+          find . -depth \( -type f -o -type d \) -exec touch -d 
"@${SOURCE_DATE_EPOCH}" {} +
       - name: '🔐 Set up GPG'
         run: |
           echo "${{ secrets.GRAILS_GPG_KEY }}" | gpg --batch --import
@@ -151,7 +151,7 @@ jobs:
           echo "SOURCE_DATE_EPOCH=$(cat BUILD_DATE)" >> "$GITHUB_ENV"
       - name: "Ensure source files use common date"
         run: |
-          find . -type f -exec touch -d "@${SOURCE_DATE_EPOCH}" {} +
+          find . -depth \( -type f -o -type d \) -exec touch -d 
"@${SOURCE_DATE_EPOCH}" {} +
       - name: "☕️ Setup JDK"
         uses: actions/setup-java@v4
         with:

Reply via email to