diff options
author | Sam James <sam@gentoo.org> | 2022-07-11 01:58:38 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-11 01:58:38 +0100 |
commit | 915cc80e0bc0246a852613d3b07bde7dc9242cae (patch) | |
tree | 9770f2af87b8be51e96a4ba0bc275da853b99808 | |
parent | keyrings-export.bash: make weekly snapshots of keyring exports (diff) | |
download | qa-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-x | keyrings-export.bash | 2 |
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. |