Skip to content

Commit

Permalink
Update validate current version script to show RC releases
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelAlliel committed Jan 9, 2024
1 parent 9af1565 commit c118daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/validate_helm_chart_updated.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def run_cmd(command, expect_output=False):

def get_current_version(chart, new_version, is_rc):
if is_rc:
search_command = f"helm search repo komodorio/{chart} --versions | grep '{new_version}\s' | awk '{{ print $2 }}'"
search_command = f"helm search repo komodorio/{chart} --versions --devel | grep '{new_version}\s' | awk '{{ print $2 }}'"
else:
search_command = f"helm show chart komodorio/{chart} | grep 'version:' | cut -d ' ' -f 2"
return run_cmd(search_command, expect_output=True)
Expand Down

0 comments on commit c118daf

Please sign in to comment.