File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,11 @@ def _update_version(self, new_version):
69
69
def download_upstream (self , download_url = None ):
70
70
tarball = self .package .tarball
71
71
if download_url is None :
72
+ pattern = self .package .tarball_upstream_url_pattern
73
+ if pattern and 'VERSION' not in pattern :
74
+ print ('Warning: upstream_url pattern does not use the VERSION variable' )
72
75
download_url = self .package .tarball_upstream_url
73
76
if download_url is None :
74
77
raise ValueError ("package has no default upstream_url pattern, download_url needed" )
75
- print ('Downloading tarball to {0}' .format (tarball .upstream_fqn ))
78
+ print ('Downloading tarball from {0} to {1} ' .format (download_url , tarball .upstream_fqn ))
76
79
Download (download_url , tarball .upstream_fqn ).run ()
You can’t perform that action at this time.
0 commit comments