Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #71 from tomstark99/dev/1.6
Browse files Browse the repository at this point in the history
Updated zip_name function
  • Loading branch information
tomstark99 authored May 28, 2024
2 parents 5b16fb7 + 5a6ada0 commit 25c2737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .src/services/base_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __repr__(self):
def __build_url(self, url: str):
return f'{url}/{self.artifact_name}/{self.version}/{self.artifact_name}-{self.version}.{self.ext}'

def _zip_name(self):
return f'{self.artifact_name}-{self.version}.{self.ext}'
def _zip_name(self, no_version: bool = False):
return f'{self.artifact_name}.{self.ext}' if no_version else f'{self.artifact_name}-{self.version}.{self.ext}'

def _clone_repo(self):
if not self.sysi.path_exists(self.dir):
Expand Down

0 comments on commit 25c2737

Please sign in to comment.