Skip to content

Commit

Permalink
feat: provide a script to update chart and app versions
Browse files Browse the repository at this point in the history
  • Loading branch information
holyspectral committed Nov 18, 2024
1 parent d8ab270 commit cef3974
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/bump_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Usage
# ./scripts/bump_version.sh <chart version> <app version>

sed -i "s/^version:.*/version: $1/g" charts/core/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: $2/g" charts/core/Chart.yaml
sed -i "s/^version:.*/version: $1/g" charts/crd/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: $2/g" charts/crd/Chart.yaml
sed -i "s/^version:.*/version: $1/g" charts/monitor/Chart.yaml
sed -i "s/^tag:.*/tag: $2/g" charts/core/values.yaml

0 comments on commit cef3974

Please sign in to comment.