commit: 09709661f46c31d96506f419446ae6211eb5380f
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 12 21:25:50 2018 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Nov 12 21:25:50 2018 +0000
URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=09709661
create-dev-keyrings: always export
If fetching any changes fails, then the export phase does not run. If
there are multiple unrelated key changes, any one of them can be held up
by missing on the keyserver.
Always run the export, so that we get at least some of the changes out.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
create-dev-keyrings.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create-dev-keyrings.bash b/create-dev-keyrings.bash
index 0afe352..9bc2fde 100755
--- a/create-dev-keyrings.bash
+++ b/create-dev-keyrings.bash
@@ -37,7 +37,7 @@ grab_keys() {
if [[ $(( retries++ )) -gt 3 ]]; then
echo "Unable to fetch the following keys:"
printf '%s\n' "${missing[@]}"
- exit 1
+ exit 0 # if we exit non-zero, the entire export
will fail
fi
sleep 5
fi