aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-05-24 17:08:34 -0400
committerB. Watson <urchlay@slackware.uk>2026-05-24 17:08:34 -0400
commit73eb4c01e8258d7e50220f30655c015791813d6a (patch)
tree5fa79717547516f4a94e5f5c488a1ab64773f7b8 /sbolint
parent068bb1165da7fcde697baec81055befaee6682dd (diff)
downloadsbo-maintainer-tools-73eb4c01e8258d7e50220f30655c015791813d6a.tar.gz
github tag min length now 7 (was 6).
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbolint b/sbolint
index 70e4f86..ba2df21 100755
--- a/sbolint
+++ b/sbolint
@@ -1313,7 +1313,7 @@ sub check_github_url {
$dir = $tag;
} elsif(@parts == 1) {
$tag = $dir = $parts[0];
- if($tag =~ /^[0-9a-f]{6,}$/ && $tag !~ /^20\d{6,}/) {
+ if($tag =~ /^[0-9a-f]{7,}$/ && $tag !~ /^20\d{6,}/) {
# commit hash. the /^20\d{6,}/ is to exclude ISO dates like 20240402
if(length($tag) < 40) {
# shortened, maybe the full hash is in the filename?