Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -source jobs to deal with packages with underscores (i.e gz-fuel_tools) #1122

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

j-rivero
Copy link
Contributor

The PACKAGE parameter in -source jobs is being populated by the args of release.py using always hyphens even if the project name in CMakeLists.txt of the package (and thus the tarball generated) is using underscores. Some other parts of the infrastructure also applies this same naming.

This is making the gz-fuel-tools -source package to fail since the -source jobs check for existence of {canonical_package_name}-\${VERSION}.tar.* tarball. This PR relax that restriction and make a second pass to just *-\${VERSION}.tar.* to grab this exception.

Tested:

  • _test_gz_source Build Status
  • Cloned _test_gz-fuel-tools9-source Build Status

Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
@j-rivero j-rivero merged commit ce5d32f into master Apr 4, 2024
1 check passed
@j-rivero j-rivero deleted the jrivero/workaround_fuel_source branch April 4, 2024 13:56
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