summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/url.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py
index 65f8e12e58..89f4a16dfc 100644
--- a/lib/spack/spack/url.py
+++ b/lib/spack/spack/url.py
@@ -370,6 +370,7 @@ def parse_name_offset(path, v=None):
(r'/([^/]+)/(tarball|zipball)/', path),
(r'/([^/]+)[_.-](bin|dist|stable|src|sources)[_.-]%s' % v, path),
(r'github.com/[^/]+/([^/]+)/archive', path),
+ (r'github.com/[^/]+/([^/]+)/releases', path),
(r'[^/]+/([^/]+)/repository/archive', path), # gitlab
(r'([^/]+)/download.php', path),