Skip to content

Commit

Permalink
fix(rollout-renku-deployment): fix reading env variable in yq. (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledegano authored Oct 13, 2022
1 parent 82134f2 commit 92a76c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollout-renku-version/rollout-renku-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ do
# update renku version and push
git checkout -b auto-update/${CHART_NAME}-${CHART_VERSION}-${cluster} ${UPSTREAM_BRANCH}

yq -i '.spec.chart.spec.version = "$CHART_VERSION"' $cluster_dir/main/charts/renku.yaml
yq -i '.spec.chart.spec.version = strenv(CHART_VERSION)' $cluster_dir/main/charts/renku.yaml
sed -i "/Renku version/c\ ### Renku version $CHART_VERSION ($DATE)" $cluster_dir/main/charts/renku.yaml
sed -i "/Release Notes/c\ See the [Release Notes](https://github.com/${GITHUB_REPOSITORY}/releases/tag/$CHART_VERSION)" $cluster_dir/main/charts/renku.yaml

Expand Down

0 comments on commit 92a76c7

Please sign in to comment.