diff --git a/.github/scripts/pack-debian-apt.js b/.github/scripts/pack-debian-apt.js index a786f038c..c1f8c658e 100644 --- a/.github/scripts/pack-debian-apt.js +++ b/.github/scripts/pack-debian-apt.js @@ -81,7 +81,7 @@ PATH=$PATH:$PWD/bin eval $(PATH=$PATH:$PWD/bin node -p "require('./package').scr await qq.chmod([workspace, 'usr/lib', config.dirname, 'bin', config.bin], 0o755); await qq.chmod([workspace, 'DEBIAN/postinst'], 0o755); await qq.x(`ln -s "../lib/${config.dirname}/bin/${config.bin}" "${workspace}/usr/bin/${pjson.oclif.bin}"`); - await qq.x(`dpkg --build "${workspace}" "${qq.join(dist, debArch(arch), `${versionedDebBase}.deb`)}"`); + await qq.x(`dpkg --build --compression=xz "${workspace}" "${qq.join(dist, debArch(arch), `${versionedDebBase}.deb`)}"`); } try { // fetch existing Packages file which needs to be modified for new version