Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a070f8

Browse files
committedNov 26, 2024·
Handle transition from old calls
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
1 parent 67a442b commit 2a070f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎release.py

+8
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ def parse_args(argv):
126126
""")
127127
parser.add_argument('package', help='which package to release')
128128
parser.add_argument('version', help='which version to release')
129+
parser.add_argument('deprecated_jenkins_token',
130+
default=None,
131+
nargs="?",
132+
help=argparse.SUPPRESS)
129133
parser.add_argument('--dry-run', dest='dry_run', action='store_true', default=False,
130134
help='dry-run; i.e., do actually run any of the commands')
131135
parser.add_argument('--auth', dest='auth_input_arg',
@@ -770,6 +774,10 @@ def process_ros_vendor_package(args):
770774
def go(argv):
771775
args = parse_args(argv)
772776

777+
if args.deprecated_jenkins_token:
778+
error('Build token has been removed. Please generate a user token:\n'
779+
' - https://gazebosim.org/docs/latest/releases-instructions/#access-and-credentials')
780+
773781
# If only the process of ROS vendor package is set, just do it
774782
if args.bump_ros_vendor_only:
775783
process_ros_vendor_package(args)

0 commit comments

Comments
 (0)
Please sign in to comment.