From 53ea1398eeb69bb5409e7137f313bcafb94710fc Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Mon, 16 Dec 2024 17:49:26 -0600 Subject: [PATCH] Don't run cmake sanity checks in certain cases Signed-off-by: Addisu Z. Taddese --- release.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index 2c3cd6b5b..cfcd34d2a 100755 --- a/release.py +++ b/release.py @@ -399,7 +399,8 @@ def sanity_checks(args, repo_dir): if not NIGHTLY: sanity_package_version(repo_dir, args.version, str(args.release_version)) sanity_check_sdformat_versions(args.package, args.version) - sanity_cmake_version(args.version) + if not (args.bump_rev_linux_only or args.source_repo_uri): + sanity_cmake_version(args.version) sanity_project_package_in_stable(args.version, args.upload_to_repository) check_credentials(args.auth_input_arg)