fix bug concerning - in app names

This commit is contained in:
kjeld Schouten-Lebbing 2022-01-19 17:59:00 +01:00
parent 768854df4f
commit e5be1df69d
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ README_MD = open(join(dirname(abspath(__file__)), "README.md")).read()
setup(
name="trueupdate",
version="2.1.0",
version="2.1.1",
# The packages that constitute your project.
# For my project, I have only one - "pydash".

View File

@ -65,7 +65,7 @@ def execute_upgrades():
if check_semver(current_version, latest_version):
print(f"Updating {chart.name}... \n")
pre_update_ver = chart.human_version
result = subprocess.run(['cli', '-c', f'app chart_release upgrade release_name={chart.name}'], capture_output=True)
result = subprocess.run(['cli', '-c', f'app chart_release upgrade release_name="{chart.name}"'], capture_output=True)
post_update_ver = chart.human_latest_version
if "Upgrade complete" not in result.stdout.decode('utf-8'):
print(f"{chart.name} failed to upgrade. \n{result.stdout.decode('utf-8')}")