Skip to content

deb package for Launchpad and GitHub releases#105

Draft
archisman-panigrahi wants to merge 16 commits intoJoseExposito:masterfrom
archisman-panigrahi:master
Draft

deb package for Launchpad and GitHub releases#105
archisman-panigrahi wants to merge 16 commits intoJoseExposito:masterfrom
archisman-panigrahi:master

Conversation

@archisman-panigrahi
Copy link
Copy Markdown

This pull request introduces automation for building and releasing Debian packages for both x86_64 and ARM64 architectures, updates packaging scripts to include Node.js dependencies, and bumps the package version. The main changes focus on CI/CD improvements and packaging updates to streamline the release process and ensure proper cleanup of build artifacts.

CI/CD Automation:

  • Added a new GitHub Actions workflow in .github/workflows/package.yml to automatically build and upload Debian packages for x86_64 and ARM64 on release or manual trigger. This includes dependency installation, package building, artifact uploading, and release publishing.

Packaging Updates:

  • Updated debian/rules to run npm ci before building to ensure Node.js dependencies are installed, and added cleanup of node_modules during the clean step. This ensures that Launchpad builds will work out (for example, see https://launchpad.net/~apandada1/+archive/ubuntu/touche)
  • Updated debian/source/lintian-overrides to include an override for appstream-metadata-invalid to suppress related lintian warnings in Launchpad (where it builds in a internet-less environment and cannot validate links)
  • Bumped the package version to 2.0.15 for the noble release in debian/changelog.

@archisman-panigrahi
Copy link
Copy Markdown
Author

Here is github action automatically building .deb package (I created a dummy release for testing): https://github.com/archisman-panigrahi/touche/releases/tag/2.0.15-new3

with strict minimum version
@archisman-panigrahi
Copy link
Copy Markdown
Author

Special thanks to #31 (comment)

@archisman-panigrahi
Copy link
Copy Markdown
Author

This should also fix #7

@archisman-panigrahi
Copy link
Copy Markdown
Author

Ready from my side

@JoseExposito
Copy link
Copy Markdown
Owner

Hey @archisman-panigrahi

Thanks a lot for working on this, and sorry for the delay on my side, I have been pretty busy.

There is already a "release.yml" (https://github.com/JoseExposito/touche/blob/master/.github/workflows/release.yml) automation available that used to contain the DEB package generation until, because missing dependencies in Debian, I had to comment it out.

Could you move your code there to avoid duplication?

Thanks!

@archisman-panigrahi archisman-panigrahi marked this pull request as draft November 5, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants