gazebo-tooling / release-tools

8 stars 9 forks source link

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

Closed j-rivero closed 3 months ago

j-rivero commented 3 months ago

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: