Skip to content

Commit 50c61ab

Browse files
committed
add key redundancy comment
1 parent 176ef1c commit 50c61ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/publish-rpm-packages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ aws s3 sync rpm-repo/ s3://${RPM_BUCKET_NAME}/${RPM_REPO_PATH}/ \
101101
--include "*/repodata/repomd.xml.asc"
102102

103103
# Upload the public key
104+
# Also uploaded in APT publish; intentionally redundant
105+
# Safe to overwrite and ensures updates if APT fails or key changes.
104106
printf "\n>>> Uploading public key \n"
105107
gpg --armor --export "${GPG_PRIVATE_KEY_FINGERPRINT}" > public-key.asc
106108
aws s3 cp public-key.asc s3://${RPM_BUCKET_NAME}/${PUBLIC_KEY_FILE_PATH} --endpoint-url "${AWS_ENDPOINT_URL}"

0 commit comments

Comments
 (0)