Skip to content

Commit

Permalink
Test sign deb packages
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 4, 2024
1 parent 5115ffb commit 247006e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,27 @@ jobs:
-D "version ${PRODUCT_VERSION}" \
-D "release ${BUILD_NUMBER}" -ba product.spec
# - name: Sign DEB Packages
# if: matrix.packageType == 'deb'
# run: |
# dpkg-sig --sign builder \
# --gpg-options "--pinentry-mode loopback --passphrase ${{ secrets.GPG_PRIVATE_KEY_PASS }}" \
# --batch ${PACKAGE_DIRECTORY}/install/*.deb

- name: Sign DEB Packages with debsigs
- name: Sign DEB Packages
if: matrix.packageType == 'deb'
run: |
debsigs --sign=origin -k "${{ secrets.GPG_KEY_ID }}" ${PACKAGE_DIRECTORY}/install/*.deb
dpkg-sig --sign builder \
--gpg-options "--pinentry-mode loopback --passphrase ${{ secrets.GPG_PRIVATE_KEY_PASS }}" \
--batch ${PACKAGE_DIRECTORY}/install/*.deb
- name: Remove _gpgbuilder from DEB
if: matrix.packageType == 'deb'
run: |
for deb in ${PACKAGE_DIRECTORY}/install/*.deb; do
echo "Processing $deb"
ar x "$deb"
rm -f _gpgbuilder
ar rcs "$deb" debian-binary control.tar.* data.tar.*
done
#- name: Sign DEB Packages with debsigs
# if: matrix.packageType == 'deb'
# run: |
# debsigs --sign=origin -k "${{ secrets.GPG_KEY_ID }}" ${PACKAGE_DIRECTORY}/install/*.deb

- name: Sign RPM Packages
if: matrix.packageType == 'rpm'
Expand Down
2 changes: 1 addition & 1 deletion install/deb/debian/po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## List of source files containing translatable strings.
# List of source files containing translatable strings.

[type: gettext/rfc822deb] {{product}}.templates

0 comments on commit 247006e

Please sign in to comment.