Skip to content

Commit 5da9fd3

Browse files
committed
fix: add deb section field and reprepro override for APT repo
The .deb package was missing a Section field in its control metadata, causing reprepro to reject it with "No section given". Added section "utils" to tauri.conf.json for future builds and --section/--priority overrides to the reprepro command as fallback. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 0eac092 commit 5da9fd3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,11 @@ jobs:
322322
# Copy reprepro config
323323
cp -r scripts/apt-repo/conf repo/
324324
325-
# Add each .deb package
325+
# Add each .deb package (--section/--priority override in case
326+
# the .deb control file is missing these fields)
326327
for deb in artifacts/*.deb; do
327328
echo "Adding: $deb"
328-
reprepro -b repo includedeb stable "$deb"
329+
reprepro -b repo --section utils --priority optional includedeb stable "$deb"
329330
done
330331
331332
# Export public key

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
},
8686
"linux": {
8787
"deb": {
88+
"section": "utils",
8889
"depends": [
8990
"libsecret-1-0",
9091
"gnome-keyring",

0 commit comments

Comments
 (0)