Skip to content

Commit

Permalink
fix(ci): properly set changelog in chart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arcln committed Jun 20, 2022
1 parent 8e02269 commit c547e15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy/chart/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ for line in $notes; do
done

rawChanges="$(echo -n $changes | jq -R -s '.')"
rawChanges="${rawChanges:1}"
rawChanges="${rawChanges%?}"
sed -i "s/artifacthub.io\\/changes:\ \'\'/artifacthub.io\\/changes: '$rawChanges'/g" Chart.yaml
yq -i ".annotations[\"artifacthub.io/changes\"] = $rawChanges" Chart.yaml

0 comments on commit c547e15

Please sign in to comment.