Skip to content

Commit

Permalink
Test action build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 4, 2024
1 parent 0c3314d commit 5115ffb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
sudo apt install -y python3-rpm python3-pip
sudo pip install rpmlint
else
sudo apt install -y dpkg-sig lintian dh-make
sudo apt install -y dpkg-sig lintian dh-make debsigs
fi
- name: Build DEB Packages
Expand Down Expand Up @@ -155,12 +155,17 @@ jobs:
-D "version ${PRODUCT_VERSION}" \
-D "release ${BUILD_NUMBER}" -ba product.spec
- name: Sign DEB Packages
# - 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
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
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 5115ffb

Please sign in to comment.