Skip to content

Commit 7e9f9a7

Browse files
authored
[Hotfix][tools] Include Helm chart in change-version script (#4306)
1 parent a0640e0 commit 7e9f9a7

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

site/amoro-site/content/community/release-guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ fi
266266
267267
# change version in all pom files
268268
find .. -name 'pom.xml' -type f -exec perl -pi -e 's#<version>'"$OLD"'</version>#<version>'"$NEW"'</version>#' {} \;
269+
270+
# change application version in the Helm chart
271+
perl -pi -e 's#^appVersion: "'"$OLD"'"$#appVersion: "'"$NEW"'"#' ../charts/amoro/Chart.yaml
269272
```
270273
271274
Then run the scripts and commit the change:

tools/change-version.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ fi
2929

3030
# change version in all pom files
3131
find .. -name 'pom.xml' -type f -exec perl -pi -e 's#<version>'"$OLD"'</version>#<version>'"$NEW"'</version>#' {} \;
32+
33+
# change application version in the Helm chart
34+
perl -pi -e 's#^appVersion: "'"$OLD"'"$#appVersion: "'"$NEW"'"#' ../charts/amoro/Chart.yaml

0 commit comments

Comments
 (0)