From 2a070f81f334caf2439664c6985354e8670d6785 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 26 Nov 2024 18:03:55 +0100 Subject: [PATCH] Handle transition from old calls Signed-off-by: Jose Luis Rivero --- release.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release.py b/release.py index d27cebbd2..f69038eae 100755 --- a/release.py +++ b/release.py @@ -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', @@ -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)