copy the rpm after signing it, you idiot
All checks were successful
CI / test (push) Successful in 8m54s
Lint / test (push) Successful in 38s
Trivy / test (push) Successful in 18s

This commit is contained in:
Miguel Jacq 2025-12-24 18:55:55 +11:00
parent 48e18e0408
commit 2eba0df85a
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -83,12 +83,13 @@ KEYID="00AE817C24A10C2540461A9C1D7CDE0234DB458D"
echo "==> Updating RPM repo..." echo "==> Updating RPM repo..."
mkdir -p "$RPM_REPO" mkdir -p "$RPM_REPO"
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$RPM_REPO/"
for file in `ls -1 "$PWD/dist/rpm"`; do for file in `ls -1 "${BUILD_OUTPUT}/rpm"`; do
rpmsign --addsign "$PWD/dist/rpm/$file" rpmsign --addsign "${BUILD_OUTPUT}/rpm/$file"
done done
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$RPM_REPO/"
createrepo_c "$RPM_REPO" createrepo_c "$RPM_REPO"
echo "==> Signing repomd.xml..." echo "==> Signing repomd.xml..."