ALBS-639: Create a CLI tool to generate SBOM #4

Merged
soksanichenko merged 2 commits from ALBS-639 into master 2022-09-13 12:26:19 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d2f8cdda42 - Show all commits

View File

@ -38,7 +38,7 @@ class CasWrapper:
def get_version(cls):
cls._is_binary_present()
command = local['cas']['--version']
version = command()[:-1].split().split('v')[1]
version = command().split()[-1].split('v')[1]
return version
def ensure_login(self):