mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-26 07:45:36 +01:00
fix: force xz compression during .deb build (#180)
zst compression is only available on Debian 12, since the release is built on Ubuntu latest, this was breaking release. Fixes #175
This commit is contained in:
parent
04457e7df2
commit
ccd9c1a7aa
2
.github/workflows/pre-release.yml
vendored
2
.github/workflows/pre-release.yml
vendored
@ -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
|
||||
sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz
|
||||
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
|
||||
|
2
.github/workflows/tagged-release.yml
vendored
2
.github/workflows/tagged-release.yml
vendored
@ -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
|
||||
sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user