aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-06 02:12:46 -0400
committerB. Watson <urchlay@slackware.uk>2024-08-06 02:12:46 -0400
commitc32a76083e8e52bb60b8c495048dce001ac9471a (patch)
treeab7a411a7479706319308620f263afb96ee7c862
parent62b60ad45fbed9c6ce1ac6280390430418a2301a (diff)
downloadsbo-maintainer-tools-c32a76083e8e52bb60b8c495048dce001ac9471a.tar.gz
sbolint: stop complaining about refs/tags in github URLs.
-rwxr-xr-xsbolint4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbolint b/sbolint
index 1ad3cc2..fddac40 100755
--- a/sbolint
+++ b/sbolint
@@ -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;