ci: preserve signed RPM for checksum validation
This commit is contained in:
@@ -69,7 +69,13 @@ jobs:
|
|||||||
run: make sign-rpm
|
run: make sign-rpm
|
||||||
|
|
||||||
- name: Generate and clearsign SHA256SUMS
|
- name: Generate and clearsign SHA256SUMS
|
||||||
run: make clearsign
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
VERSION="$(sed -n 's/^version = "\(.*\)"/\1/p' pyproject.toml)"
|
||||||
|
cd dist
|
||||||
|
sha256sum "fenris_${VERSION}_amd64.deb" \
|
||||||
|
"fenris-${VERSION}-1.x86_64.rpm" > SHA256SUMS
|
||||||
|
gpg --batch --yes --clearsign --local-user packaging@bongbetic.com SHA256SUMS
|
||||||
|
|
||||||
- name: Validate signatures and checksums
|
- name: Validate signatures and checksums
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user