Skip to content

Commit

Permalink
ci(home-assistant): fix chart_version var
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabor Pichner committed Jan 10, 2024
1 parent df1e7f8 commit d90fcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ha-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
src_file="charts/home-assistant/Chart.yaml"
app_version=$(yq '.appVersion' $src_file)
chart_version=$(yq '.version' "$src_file")
new_version=$(echo $chart | awk -F. '{$NF = $NF + 1;} 1' OFS=.)
new_version=$(echo $chart_version | awk -F. '{$NF = $NF + 1;} 1' OFS=.)
if [ "$app_version" != "$stable_tag" ]; then
echo "Updating Chart.yaml with appVersion: $stable_tag chartVersion: $new_version"
Expand Down

0 comments on commit d90fcc3

Please sign in to comment.