Skip to content

Commit 6fe608e

Browse files
committed
scripts/retire: fix "created on reception" epoch
The epoch was set to when the sync PR's commit was committed, not when the merge commit merging the PR was committed. Since we are using `--first-parent`, we need the latter.
1 parent 9af5c53 commit 6fe608e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/retire.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ newCutoff=$(date --date="1 year ago" +%s)
6060
# For now however, the code needs to check if the file creation date
6161
# is before 2025-07-09 to distinguish between periods A and C,
6262
# so we hardcode that date for the code to use.
63-
createdOnReceptionEpoch=$(date --date=2025-07-09 +%s)
63+
createdOnReceptionEpoch=$(date --date=2025-07-17 +%s)
6464

6565
if [[ -z "${PROD:-}" ]]; then
6666
tmp=$(git rev-parse --show-toplevel)/.tmp

0 commit comments

Comments
 (0)