Skip to content

Commit

Permalink
Reviewer feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Dec 18, 2024
1 parent 53ea139 commit 0a7b430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def sanity_check_sdformat_versions(package, version):

print_success("sdformat version in proper sdformat package")

def sanity_cmake_version(version):
def sanity_check_cmake_version(version):
regex = re.compile(r"^project.*VERSION\s*([0-9.]*).*", re.MULTILINE)
try:
with open("CMakeLists.txt") as f:
Expand Down Expand Up @@ -400,7 +400,7 @@ def sanity_checks(args, repo_dir):
sanity_package_version(repo_dir, args.version, str(args.release_version))
sanity_check_sdformat_versions(args.package, args.version)
if not (args.bump_rev_linux_only or args.source_repo_uri):
sanity_cmake_version(args.version)
sanity_check_cmake_version(args.version)
sanity_project_package_in_stable(args.version, args.upload_to_repository)

check_credentials(args.auth_input_arg)
Expand Down

0 comments on commit 0a7b430

Please sign in to comment.