Fix build-package.sh - handle broken pipe from head command
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 3s
CI Pipeline / Clippy Lints (push) Successful in 45s
CI Pipeline / Rust Unit Tests (push) Successful in 1m0s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 12s
CI Pipeline / Build .deb & Release (push) Failing after 3m15s
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 3s
CI Pipeline / Clippy Lints (push) Successful in 45s
CI Pipeline / Rust Unit Tests (push) Successful in 1m0s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 12s
CI Pipeline / Build .deb & Release (push) Failing after 3m15s
This commit is contained in:
2
scripts/build-package.sh
Executable file → Normal file
2
scripts/build-package.sh
Executable file → Normal file
@ -126,7 +126,7 @@ info ".deb package created: ${DEB_NAME}"
|
||||
info "Step 5/5: Verifying package..."
|
||||
dpkg-deb --info "${PROJECT_ROOT}/${DEB_NAME}"
|
||||
echo
|
||||
dpkg-deb --contents "${PROJECT_ROOT}/${DEB_NAME}" | head -20
|
||||
dpkg-deb --contents "${PROJECT_ROOT}/${DEB_NAME}" | head -20 || true
|
||||
echo
|
||||
|
||||
PKG_SIZE=$(du -h "${PROJECT_ROOT}/${DEB_NAME}" | cut -f1)
|
||||
|
||||
Reference in New Issue
Block a user