Skip to content

Commit bd2ac3a

Browse files
committed
hotfix(rpm/publish) add missing repomd.xml.key file (Jenkins GPG public key used to sign repository metadatas)
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
1 parent dec339d commit bd2ac3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rpm/publish/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function clean() {
2020
}
2121

2222
function generateSite() {
23-
gpg --export -a --output "$D/${ORGANIZATION}.key" "${GPG_KEYNAME}"
24-
gpg --import-options show-only --import "$D/${ORGANIZATION}.key" >"$D/${ORGANIZATION}.key.info"
23+
gpg --export -a --output "$D/repodata/repomd.xml.key" "${GPG_KEYNAME}"
24+
gpg --import-options show-only --import "$D/repodata/repomd.xml.key" >"$D/${ORGANIZATION}.key.info"
2525

2626
"$BASE/bin/indexGenerator.py" \
2727
--distribution rpm \
@@ -36,7 +36,7 @@ function generateSite() {
3636
[${ARTIFACTNAME}]
3737
name=${PRODUCTNAME}${RELEASELINE}
3838
baseurl=${RPM_URL}
39-
gpgkey=${RPM_URL}/${ORGANIZATION}-2023.key
39+
gpgkey=${RPM_URL}/repodata/repomd.xml.key
4040
gpgcheck=1
4141
repo_gpgcheck=1
4242
EOF

0 commit comments

Comments
 (0)