Use the full_name as for the skip file marker.
This way we are sure to download the last archive all the time.
This commit is contained in:
parent
dca64eb5d5
commit
11a7ec4020
|
@ -51,6 +51,10 @@ class Source:
|
||||||
def name(self):
|
def name(self):
|
||||||
return self.target.name
|
return self.target.name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def full_name(self):
|
||||||
|
return self.target.full_name()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def source_dir(self):
|
def source_dir(self):
|
||||||
return self.target.full_name()
|
return self.target.full_name()
|
||||||
|
@ -110,7 +114,7 @@ class ReleaseDownload(Source):
|
||||||
return pj(neutralEnv('source_dir'), self.source_dir)
|
return pj(neutralEnv('source_dir'), self.source_dir)
|
||||||
|
|
||||||
def _download(self, context):
|
def _download(self, context):
|
||||||
context.try_skip(neutralEnv('archive_dir'), self.name)
|
context.try_skip(neutralEnv('archive_dir'), self.full_name)
|
||||||
neutralEnv('download')(self.archive)
|
neutralEnv('download')(self.archive)
|
||||||
|
|
||||||
def _extract(self, context):
|
def _extract(self, context):
|
||||||
|
|
Loading…
Reference in New Issue