From: Michael Tremer Date: Thu, 5 Dec 2024 10:53:55 +0000 (+0000) Subject: jenkins: Try signing the Release files X-Git-Tag: 0.9.30~756 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a49420f352b376e2ed29c6fd86f0dbe2ba5eb02;p=pakfire.git jenkins: Try signing the Release files Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index 4a9769f76..8f4dacd16 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -430,7 +430,6 @@ pipeline { sh """ mkdir -p $GNUPGHOME chmod 700 $GNUPGHOME - printenv """ // Import the GPG key @@ -461,6 +460,25 @@ pipeline { apt-ftparchive release packages/debian/dists/$distro ) >> packages/debian/dists/$distro/Release """ + + // Create InRelease + sh """ + gpg --batch \ + --clearsign \ + --local-user ${env.GPG_KEY_ID} \ + --output packages/debian/dists/$distro/InRelease \ + packages/debian/dists/$distro/Release + """ + + // Create Release.gpg + sh """ + gpg --batch \ + --armor \ + --detach-sign \ + --local-user ${env.GPG_KEY_ID} \ + --output packages/debian/dists/$distro/Release.gpg \ + packages/debian/dists/$distro/Release + """ } }