From ef83ff3e096b295261b1dafc6680fb10300ec23d Mon Sep 17 00:00:00 2001 From: Sergejs Luhmirins Date: Mon, 22 Dec 2025 09:45:29 +0200 Subject: [PATCH] Replace MacSO version of date with a Linux-compatible one in dev upload script --- .github/workflows/reusable-check-recent-merges.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-check-recent-merges.yml b/.github/workflows/reusable-check-recent-merges.yml index 4efa60a758..c8fc5dd56a 100644 --- a/.github/workflows/reusable-check-recent-merges.yml +++ b/.github/workflows/reusable-check-recent-merges.yml @@ -35,7 +35,7 @@ jobs: run: | echo "Checking for merges to $TARGET_BRANCH in the last $DAYS_AGO days." - cutoff_date_seconds=$(date -v -${DAYS_AGO}d +%s) + cutoff_date_seconds=$(date --date "$DAYS_AGO days ago" +%s) recent_merge_commit=$(git log $TARGET_BRANCH --merges --since="$DAYS_AGO days ago" --pretty=format:"%ct" -n 1) if [[ -n "$recent_merge_commit" ]]; then