Skip to content

Commit

Permalink
Handle transition from old calls
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Nov 26, 2024
1 parent 67a442b commit 2a070f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ def parse_args(argv):
""")
parser.add_argument('package', help='which package to release')
parser.add_argument('version', help='which version to release')
parser.add_argument('deprecated_jenkins_token',
default=None,
nargs="?",
help=argparse.SUPPRESS)
parser.add_argument('--dry-run', dest='dry_run', action='store_true', default=False,
help='dry-run; i.e., do actually run any of the commands')
parser.add_argument('--auth', dest='auth_input_arg',
Expand Down Expand Up @@ -770,6 +774,10 @@ def process_ros_vendor_package(args):
def go(argv):
args = parse_args(argv)

if args.deprecated_jenkins_token:
error('Build token has been removed. Please generate a user token:\n'
' - https://gazebosim.org/docs/latest/releases-instructions/#access-and-credentials')

# If only the process of ROS vendor package is set, just do it
if args.bump_ros_vendor_only:
process_ros_vendor_package(args)
Expand Down

0 comments on commit 2a070f8

Please sign in to comment.