Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Jun 3, 2024
1 parent 3236d73 commit 8ed2830
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ def get_vendor_github_repo(package_name):

def create_issue_in_repo(github_repo, title, body):
_out = b""
# For parsing the \n correctly we need to store the content in a temp
# file and pass it as --body-file
with NamedTemporaryFile("w", delete=True) as f:
f.write(body)
f.flush()
Expand All @@ -558,7 +560,6 @@ def create_issue_in_repo(github_repo, title, body):

def create_issue_in_gz_vendor_repo(args, ros_distro):
gz_vendor_repo = get_vendor_github_repo(args.package)
gz_vendor_repo = 'j-rivero/test'
title = f'Update version for {ros_distro} to the latest tag of {args.package}: {args.version}'
body = f'The {get_canonical_package_name(args.package)} repository tagged a new: {args.version} '\
'This repository needs to be updated accordingly for the branch {ros_distro}:\n'\
Expand Down

0 comments on commit 8ed2830

Please sign in to comment.