diff options
author | B. Watson <urchlay@slackware.uk> | 2024-08-06 02:12:46 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-08-06 02:12:46 -0400 |
commit | c32a76083e8e52bb60b8c495048dce001ac9471a (patch) | |
tree | ab7a411a7479706319308620f263afb96ee7c862 | |
parent | 62b60ad45fbed9c6ce1ac6280390430418a2301a (diff) | |
download | sbo-maintainer-tools-c32a76083e8e52bb60b8c495048dce001ac9471a.tar.gz |
sbolint: stop complaining about refs/tags in github URLs.
-rwxr-xr-x | sbolint | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1235,9 +1235,7 @@ sub check_github_url { # do not police releases/ or raw/ URLs, only archive/ return unless $url =~ m{github\.com/[^/]*/[^/]*/archive/}; - if($url =~ s,refs/tags/,,) { - log_error "$file: github URLs should not have refs/tags/"; - } + $url =~ s,refs/tags/,,; #https: // site/ .../ .../ archive/ ...everything else. (my $proto, undef, undef, $user, $proj, undef, @parts) = split /\//, $url; |