From 3de77d93e452cdd4a2d6ca0a7267ff3c17a1557a Mon Sep 17 00:00:00 2001 From: miampf Date: Wed, 31 Jan 2024 17:24:42 +0100 Subject: [PATCH] tidy --- .github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh index e32f3a766..4a2cfcfbe 100755 --- a/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh +++ b/.github/actions/e2e_cleanup_timeframe/e2e-cleanup.sh @@ -43,7 +43,7 @@ end_date=$(date --date "-7 day" "+%Y-%m-%d") dates_to_clean=() # get all dates of the last week -while [[ "$end_date" != "$start_date" ]]; do +while [[ $end_date != "$start_date" ]]; do dates_to_clean+=($end_date) end_date=$(date --date "$end_date +1 day" "+%Y-%m-%d") done