Skip to content

Commit

Permalink
Move logic under process_ros_vendor_package
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
  • Loading branch information
j-rivero committed Feb 13, 2025
1 parent 52744c5 commit 1aa83d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,8 @@ def create_pr_in_gz_vendor_repo(args, ros_distro) -> str:


def process_ros_vendor_package(args):
if PRERELEASE or NIGHTLY:
return
print("ROS vendor packages that can be updated:")
if args.package.replace('gz-','') in ROS_VENDOR:
print(" - There are no gz metapackages in ROS")
Expand Down Expand Up @@ -955,8 +957,7 @@ def go(argv):
display_help_job_chain_for_source_calls(args)
# Process the possible update of an associated ROS vendor package
# for stable releases only
if not (PRERELEASE or NIGHTLY):
process_ros_vendor_package(args)
process_ros_vendor_package(args)


if __name__ == '__main__':
Expand Down

0 comments on commit 1aa83d8

Please sign in to comment.