aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-11 01:58:38 +0100
committerSam James <sam@gentoo.org>2022-07-11 01:58:38 +0100
commit915cc80e0bc0246a852613d3b07bde7dc9242cae (patch)
tree9770f2af87b8be51e96a4ba0bc275da853b99808
parentkeyrings-export.bash: make weekly snapshots of keyring exports (diff)
downloadqa-scripts-915cc80e0bc0246a852613d3b07bde7dc9242cae.tar.gz
qa-scripts-915cc80e0bc0246a852613d3b07bde7dc9242cae.tar.bz2
qa-scripts-915cc80e0bc0246a852613d3b07bde7dc9242cae.zip
keyrings-export.bash: run snapshot part weekly
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xkeyrings-export.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyrings-export.bash b/keyrings-export.bash
index c9d4715..eea3f20 100755
--- a/keyrings-export.bash
+++ b/keyrings-export.bash
@@ -42,7 +42,7 @@ export_keys "${OUTPUT_DIR}"/all-devs.gpg \
"${RETIRED_DEVS[@]}"
for key in service-keys committing-devs active-devs infra-devs retired-devs all-devs ; do
- timestamp=$(date +%Y%m%d)
+ timestamp=$(date -u +%Y%m%d -d "next monday")
# Don't clobber existing timestamped keys for this period (weekly)
# if we're running several times a day.