Skip to content

CI: multi-series builds, SFTP upload, automatic changelog versioning - #233

Open
AksharNana wants to merge 3 commits into
binpash:mainfrom
AksharNana:fix-ubuntu-versions
Open

AksharNana wants to merge 3 commits into
binpash:mainfrom
AksharNana:fix-ubuntu-versions

Conversation

@AksharNana

Copy link
Copy Markdown
Collaborator

This changes how the PPA release job builds and uploads packages.

  • Multiple Ubuntu series. ppa-source-check now builds one source package per series (focal, jammy, noble) instead of only noble. Each upload gets its own version, <version>-<revision>~<series>1 (e.g. 0.2.1-2~focal1), because Launchpad accepts a version only once. The orig tarball is shared and byte-identical across series.

  • debhelper-compat 13 → 12. Focal ships debhelper 12.10, which can't satisfy 13. I built the package in Ubuntu 20.04, 22.04 and 24.04 containers with compat 12 on focal and 13 on jammy and noble, and all three build cleanly.

  • SFTP instead of FTP. publish-ppa uploads over SFTP, with retries and a pause between uploads.

  • Automatic changelog versioning. CI takes the upstream version from the release tarball. If it differs from the committed changelog, it starts at revision 1 and adds a "New upstream release" entry. If it's the same, it keeps the committed revision, so only packaging-only fixes need a manual edit.

This branch has not been deployed

No deployments
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.

1 participant