Skip to content

Commit 9850cfe

Browse files
committed
Update gulp-debian
1 parent 0b45d1a commit 9850cfe

File tree

4 files changed

+25
-26
lines changed

4 files changed

+25
-26
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,23 +94,7 @@ jobs:
9494
if: ${{ !inputs.debug_build && matrix.name != 'Android' }}
9595

9696
- run: yarn gulp debug-release ${{ matrix.releaseArgs }}
97-
if: ${{ inputs.debug_build || matrix.name == 'Android' }}
98-
99-
# Modern Ubuntu builds .deb with ZST compression; however, Debian does not yet support
100-
- name: repack .deb file with xz compression
101-
if: ${{ matrix.name == 'Linux' }}
102-
run: |
103-
set -x
104-
sudo apt install binutils zstd
105-
cd release
106-
debfile=$(find ./ -name "*.deb")
107-
ar x $debfile
108-
zstd -d < control.tar.zst | xz > control.tar.xz
109-
zstd -d < data.tar.zst | xz > data.tar.xz
110-
rm *.deb
111-
rm *.zst
112-
ar -m -c -a sdsd $debfile debian-binary control.tar.xz data.tar.xz
113-
rm debian-binary control.tar.xz data.tar.xz
97+
if: ${{ inputs.debug_build }}
11498

11599
- name: Publish build artifacts
116100
uses: actions/upload-artifact@v3

gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const del = require('del');
1111
const NwBuilder = require('nw-builder');
1212
const innoSetup = require('@quanle94/innosetup');
1313
const deb = require('gulp-debian');
14+
const conffiles = 'test/configs';
1415
const buildRpm = require('rpm-builder');
1516
const commandExistsSync = require('command-exists').sync;
1617
const targz = require('targz');
@@ -742,6 +743,7 @@ function release_deb(arch, appDirectory, done) {
742743
`chmod -R +Xr ${LINUX_INSTALL_DIR}/${metadata.name}/`,
743744
],
744745
prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`],
746+
conffiles: './test/configs/opt/etc/dummy.cfg',
745747
depends: ['libgconf-2-4', 'libatomic1'],
746748
changelog: [],
747749
_target: `${LINUX_INSTALL_DIR}/${metadata.name}`,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"glob": "^8.0.3",
108108
"gulp": "^4.0.2",
109109
"gulp-concat": "~2.6.1",
110-
"gulp-debian": "^0.1.9",
110+
"gulp-debian": "^0.3.1",
111111
"gulp-json-editor": "^2.5.6",
112112
"gulp-less": "^5.0.0",
113113
"gulp-prompt": "^1.2.0",

yarn.lock

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8089,6 +8089,13 @@ find-versions@^3.2.0:
80898089
dependencies:
80908090
semver-regex "^2.0.0"
80918091

8092+
find@^0.2.8:
8093+
version "0.2.9"
8094+
resolved "https://registry.yarnpkg.com/find/-/find-0.2.9.tgz#4b73f1ff9e56ad91b76e716407fe5ffe6554bb8c"
8095+
integrity sha512-7a4/LCiInB9xYMnAUEjLilL9FKclwbwK7VlXw+h5jMvT2TDFeYFCHM24O1XdnC/on/hx8mxVO3FTQkyHZnOghQ==
8096+
dependencies:
8097+
traverse-chain "~0.1.0"
8098+
80928099
findup-sync@^2.0.0:
80938100
version "2.0.0"
80948101
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc"
@@ -8864,11 +8871,12 @@ gulp-concat@~2.6.1:
88648871
through2 "^2.0.0"
88658872
vinyl "^2.0.0"
88668873

8867-
gulp-debian@^0.1.9:
8868-
version "0.1.9"
8869-
resolved "https://registry.yarnpkg.com/gulp-debian/-/gulp-debian-0.1.9.tgz#80e4a8cfc0f0904312f07e66a06ca3c024edc153"
8870-
integrity sha512-hY16Lj5IdxY213L9Sl6SlEgpCvf8/ny3SQ4S9dyG8MHqRx0fPpui5CRodhQK5lA2oScxP8qi4wfK4fIDr5xF3g==
8874+
gulp-debian@^0.3.1:
8875+
version "0.3.1"
8876+
resolved "https://registry.yarnpkg.com/gulp-debian/-/gulp-debian-0.3.1.tgz#1cf7f46dc70891fbc58f54f4f3bc69a60feb5e8c"
8877+
integrity sha512-Eu7d/VNk9dOBWjugYn113JOJ2RiIuoxon5Tw50WPkFyYCOX0Kn+RHhRAtSmLGewWhyp3l2MDGSlW65YIzWCItw==
88718878
dependencies:
8879+
find "^0.2.8"
88728880
fs-extra "^5.0.0"
88738881
gulp-util "^3.0.8"
88748882
through2 "^2.0.1"
@@ -10619,7 +10627,7 @@ jsonfile@^2.1.0:
1061910627
jsonfile@^4.0.0:
1062010628
version "4.0.0"
1062110629
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
10622-
integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=
10630+
integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==
1062310631
optionalDependencies:
1062410632
graceful-fs "^4.1.6"
1062510633

@@ -11235,7 +11243,7 @@ loupe@^2.3.1:
1123511243
lower-case@^1.1.1:
1123611244
version "1.1.4"
1123711245
resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac"
11238-
integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw=
11246+
integrity sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==
1123911247

1124011248
lower-case@^2.0.2:
1124111249
version "2.0.2"
@@ -16073,7 +16081,7 @@ timers-ext@^0.1.7:
1607316081
title-case@^2.1.0:
1607416082
version "2.1.1"
1607516083
resolved "https://registry.yarnpkg.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa"
16076-
integrity sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o=
16084+
integrity sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==
1607716085
dependencies:
1607816086
no-case "^2.2.0"
1607916087
upper-case "^1.0.3"
@@ -16199,6 +16207,11 @@ tr46@~0.0.3:
1619916207
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
1620016208
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
1620116209

16210+
traverse-chain@~0.1.0:
16211+
version "0.1.0"
16212+
resolved "https://registry.yarnpkg.com/traverse-chain/-/traverse-chain-0.1.0.tgz#61dbc2d53b69ff6091a12a168fd7d433107e40f1"
16213+
integrity sha512-up6Yvai4PYKhpNp5PkYtx50m3KbwQrqDwbuZP/ItyL64YEWHAvH6Md83LFLV/GRSk/BoUVwwgUzX6SOQSbsfAg==
16214+
1620216215
trim-newlines@^1.0.0:
1620316216
version "1.0.0"
1620416217
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
@@ -16646,7 +16659,7 @@ update-browserslist-db@^1.0.9:
1664616659
upper-case@^1.0.3:
1664716660
version "1.1.3"
1664816661
resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
16649-
integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=
16662+
integrity sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==
1665016663

1665116664
uri-js@^4.2.2:
1665216665
version "4.4.1"

0 commit comments

Comments
 (0)