Skip to content

Update debian package CI job#750

Open
marip8 wants to merge 2 commits into
tesseract-robotics:masterfrom
marip8:update/deb-package-ci-job
Open

Update debian package CI job#750
marip8 wants to merge 2 commits into
tesseract-robotics:masterfrom
marip8:update/deb-package-ci-job

Conversation

@marip8

@marip8 marip8 commented May 29, 2026

Copy link
Copy Markdown
Contributor

I'm trying to generate debians of previous tagged versions of this repository to add to the releases, and I'm running into the issue where the debian package build CI job identifies the latest tagged version (e.g., 0.35.0) as the platform on which to build the debians despite the workflow being invoked for a previous tag (e.g., 0.29.2). See this workflow as an example.

This PR updates the debian package CI job to pull the major and minor versions from the triggering git ref name rather than from the latest tag of the repository. This changes allows the workflow to be run on command for non-latest tags (e.g., to generate debians for existing releases). If this workflow is triggered by a git ref that is not a tag compatible with semantic versioning, the get-tag step will fail and report the error.

This PR updates the debian package CI job to get the target major, minor and patch versions from workflow dispatch text inputs provided by the user triggering the build. It then uses the major and minor versions to pull the correct Docker image for the build and specifies the full tag (major.minor.patch) as the repository ref to check out for the build

…ring ref name instead of latest available repository tag
@marip8 marip8 changed the title Update debian package CI job [Draft] Update debian package CI job May 29, 2026
@marip8 marip8 changed the title [Draft] Update debian package CI job Update debian package CI job May 29, 2026
@marip8
marip8 requested a review from Levi-Armstrong May 29, 2026 18:27
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