Find more versions from GitHub (#3952)

This commit is contained in:
Adam J. Stewart 2017-04-22 17:31:22 -05:00 committed by GitHub
parent 281ba99460
commit fc8106afe3

View File

@ -71,7 +71,7 @@ def find_list_url(url):
url_types = [
# e.g. https://github.com/llnl/callpath/archive/v1.0.1.tar.gz
(r'(.*github\.com/[^/]+/[^/]+)/archive/',
(r'(.*github\.com/[^/]+/[^/]+)',
lambda m: m.group(1) + '/releases')]
for pattern, fun in url_types: