Skip to content
Snippets Groups Projects
Commit b643d105 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

Allow underscore with these suffixes for version detection

parent 0523f66b
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ class Pathname
return $1 if $1
# eg foobar-4.5.0-bin
/-((\d+\.)+\d+[abc]?)[-.](bin|stable|src|sources?)$/.match stem
/-((\d+\.)+\d+[abc]?)[-._](bin|stable|src|sources?)$/.match stem
return $1 if $1
# Debian style eg dash_0.5.5.1.orig.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment