Skip to content

Commit

Permalink
CI: Accept repository name with at least "Slicer" or "slicer"
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Mar 12, 2024
1 parent 427fc44 commit f848f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_description_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def check_git_repository_name(extension_name, metadata):

repo_name = os.path.splitext(urlparse.urlsplit(metadata["scmurl"]).path.split("/")[-1])[0]

if not repo_name.startswith("Slicer"):
if "slicer" not in repo_name.lower():

variations = [prefix + repo_name for prefix in ["Slicer-", "Slicer_", "SlicerExtension-", "SlicerExtension_"]]

Expand Down

0 comments on commit f848f5f

Please sign in to comment.