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-core.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 1cd1fe3d45 [skip ci] set directory & file dates to the same, visiting
files first
1cd1fe3d45 is described below
commit 1cd1fe3d45b85d943c16e15c7cd8a210b3030ea1
Author: James Daugherty <[email protected]>
AuthorDate: Sun Jun 1 03:14:41 2025 -0400
[skip ci] set directory & file dates to the same, visiting files first
---
.github/workflows/release-source-distribution.yml | 2 +-
.github/workflows/release.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-source-distribution.yml
b/.github/workflows/release-source-distribution.yml
index 0c9061abe3..f9fdc81e47 100644
--- a/.github/workflows/release-source-distribution.yml
+++ b/.github/workflows/release-source-distribution.yml
@@ -70,7 +70,7 @@ jobs:
- name: "Ensure source files use common date"
run: |
SOURCE_DATE_EPOCH=$(cat grails/BUILD_DATE)
- find . -type f -exec touch -d "@${SOURCE_DATE_EPOCH}" {} +
+ find . -depth \( -type f -o -type d \) -exec touch -d
"@${SOURCE_DATE_EPOCH}" {} +
- name: "📦 Create source distribution ZIP"
run: |
version="${{ github.ref_name }}"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 54d692c875..22a2288c93 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -39,7 +39,7 @@ jobs:
run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >>
"$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