fix(release): retain XBPS key through publication

The optional XBPS publisher signs repository metadata after package signing. Remove the runner key only after publication and release asset upload.
This commit is contained in:
xavierk
2026-09-29 04:06:45 +05:30
parent a5b84f7566
commit 3f2dd6a5a1
3 changed files with 26 additions and 6 deletions
+4 -1
View File
@@ -159,7 +159,6 @@ jobs:
gpg --batch --yes --delete-secret-keys "${FINGERPRINT}"
gpg --batch --yes --delete-keys "${FINGERPRINT}"
fi
rm -f ~/.ssh/id_xbps
- name: Determine version
id: version
@@ -345,3 +344,7 @@ jobs:
"https://git.bongbetic.com/api/v1/repos/xavierk/Fenris/releases/${RELEASE_ID}/assets"
fi
done
- name: Remove XBPS signing key
if: always()
run: rm -f ~/.ssh/id_xbps