Skip to content

Commit 26dd321

Browse files
authored
Merge pull request #557 from infosiftr/monday
Slightly different `date` value to get updates Monday
2 parents 612f122 + e534186 commit 26dd321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for version in "${versions[@]}"; do
9393
# clamp so we don't update too frequently (https://github.com/docker-library/golang/issues/464#issuecomment-1587758290, https://github.com/docker-library/faq#can-i-use-a-bot-to-make-my-image-update-prs)
9494
# https://github.com/golang/go
9595
# https://go.googlesource.com/go
96-
snapshotDate="$(date --utc --date 'last monday 00:00:00' '+%s')"
96+
snapshotDate="$(date --utc --date 'last sunday 23:59:59 UTC + 1 second' '+%s')"
9797
snapshotDateStr="$(date --utc --date "@$snapshotDate" '+%Y-%m-%d @ %H:%M:%S')"
9898
commit='HEAD' # this is also our iteration variable, so if we don't find a suitable commit each time through this loop, we'll use the last commit of the previous list to get a list of new (older) commits until we find one suitably old enough
9999
fullVersion=

0 commit comments

Comments
 (0)