From 98f6a1240fab5bc26bc143a33054fe8bd6fb8f48 Mon Sep 17 00:00:00 2001 From: Blagoj Atanasovski Date: Thu, 16 Jan 2025 13:20:45 +0100 Subject: [PATCH] Don't bump app version on release --- .github/workflows/bump_chart.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/bump_chart.py b/.github/workflows/bump_chart.py index a0d0840d..50535e2f 100644 --- a/.github/workflows/bump_chart.py +++ b/.github/workflows/bump_chart.py @@ -30,15 +30,6 @@ updated_yaml = updated_yaml.replace(current_version, new_version) print(f'Updated version: {new_version}') -# Update appVersion. -if new_app_version != '': - match = re.search(r'appVersion:\s*(.+)', chart_yaml) - if match: - current_app_version = match.group(1) - print(f'Current appVersion: {current_app_version}') - - updated_yaml = updated_yaml.replace(current_app_version, f'"{new_app_version}"') - print(f'Updated appVersion: "{new_app_version}"') with open(chart_yaml_path, 'w') as chart_file: chart_file.write(updated_yaml) \ No newline at end of file