Skip to content

Commit f5af11c

Browse files
fix: rollout spacing (#35)
* fix: rollout spacing * change date caps
1 parent d11266c commit f5af11c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rollout-renku-version/rollout-renku-deployment.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ git config --global user.email "$GIT_EMAIL"
2424
git config --global user.name "$GIT_USER"
2525

2626
# use current date
27-
date=$(date +"%B %dth %Y")
27+
DATE=$(date +"%B %dth %Y")
2828

2929
# get the list of clusters to update
3030
git clone --depth=1 --branch=${UPSTREAM_BRANCH} https://${GITHUB_TOKEN}@github.com/${UPSTREAM_REPO} deployment-repo
@@ -45,8 +45,8 @@ do
4545
git checkout -b auto-update/${CHART_NAME}-${CHART_VERSION}-${cluster} ${UPSTREAM_BRANCH}
4646

4747
yq w -i $cluster_dir/main/charts/renku.yaml "spec.chart.spec.version" $CHART_VERSION
48-
sed -i "/Renku version/c\ ### Renku version $CHART_VERSION ($date)" $cluster_dir/main/charts/renku.yaml
49-
sed -i "/Release Notes/c\ See the [Release Notes](https://github.com/${GITHUB_REPOSITORY}/releases/tag/$CHART_VERSION)" $cluster_dir/main/charts/renku.yaml
48+
sed -i "/Renku version/c\ ### Renku version $CHART_VERSION ($DATE)" $cluster_dir/main/charts/renku.yaml
49+
sed -i "/Release Notes/c\ See the [Release Notes](https://github.com/${GITHUB_REPOSITORY}/releases/tag/$CHART_VERSION)" $cluster_dir/main/charts/renku.yaml
5050

5151
git add .
5252
git commit -m "chore: updating ${CHART_NAME} version to ${CHART_VERSION}"

0 commit comments

Comments
 (0)