Add GitHub Release publishing to deb package build workflow#1
Merged
Conversation
- Add -b flag to dpkg-buildpackage to build binary-only (avoids failure from missing orig tarball for native package) - Remove unnecessary build deps (dh-make, debhelper-compat virtual pkg) - Collect .deb files into dist/ for reliable artifact upload - Add tag trigger (v*) and GitHub Release publishing step via softprops/action-gh-release@v2 https://claude.ai/code/session_01SrZkem81TfpwKXC4Pf5itR
debhelper compat is already specified via Build-Depends on debhelper-compat (= 13) in debian/control. Having debian/compat as well causes debhelper to error out with "compat level specified both in debian/compat and via build-dependency on debhelper-compat". https://claude.ai/code/session_01SrZkem81TfpwKXC4Pf5itR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced the deb package build workflow to support automated publishing to GitHub Releases when version tags are pushed, while maintaining existing artifact upload functionality.
Key Changes
tags: [ 'v*' ]) to enable automated releases on version tag pushesdh-makepackage from build dependenciesdist/directory to centralize artifact collection and improve workflow structuresoftprops/action-gh-release@v2to automatically publish deb packages to GitHub Releases when version tags are createdif: startsWith(github.ref, 'refs/tags/v')) to prevent accidental releases on regular pushesImplementation Details
-bflag (binary-only) instead of full source package builddist/directory before upload, making the workflow more maintainabledist/*.debpath for consistencyhttps://claude.ai/code/session_01SrZkem81TfpwKXC4Pf5itR