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 19, 2024
1 parent 69b2237 commit 7370577
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 @@ -88,7 +88,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 7370577

Please sign in to comment.