|
|
@ -470,6 +470,10 @@ def main():
|
|
|
|
version_part = version
|
|
|
|
version_part = version
|
|
|
|
if keep_name and version == 'latest':
|
|
|
|
if keep_name and version == 'latest':
|
|
|
|
version_part = downloader.find_latest_version_available(artifact)
|
|
|
|
version_part = downloader.find_latest_version_available(artifact)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if classifier:
|
|
|
|
|
|
|
|
dest = posixpath.join(dest, "%s-%s-%s.%s" % (artifact_id, version_part, classifier, extension))
|
|
|
|
|
|
|
|
else:
|
|
|
|
dest = posixpath.join(dest, "%s-%s.%s" % (artifact_id, version_part, extension))
|
|
|
|
dest = posixpath.join(dest, "%s-%s.%s" % (artifact_id, version_part, extension))
|
|
|
|
b_dest = to_bytes(dest, errors='surrogate_or_strict')
|
|
|
|
b_dest = to_bytes(dest, errors='surrogate_or_strict')
|
|
|
|
|
|
|
|
|
|
|
|