diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 7f6f01c..de1d799 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -17,7 +17,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz + sudo debuild --buildinfo-option=-O -us -uc -b -j8 find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index d2c5b4d..28eb317 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -29,7 +29,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz + sudo debuild --buildinfo-option=-O -us -uc -b -j8 find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/debian/rules b/debian/rules index 0cb1084..2ed6031 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,9 @@ PACKAGE = $(shell dh_listpackages) %: dh $@ +override_dh_builddeb: + dh_builddeb -- -Zxz + override_dh_install: dh_install mkdir -p $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/