Skip to content

Commit

Permalink
Remove the leading 'v' from chart version
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <github@chenyicn.net>
  • Loading branch information
ChenYi015 committed Jul 24, 2024
1 parent a8ee09a commit 35152bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ If you want to push changes to the `release-X.Y` release branch, you have to che
2. Modify `version` and `appVersion` in `Chart.yaml`:
```bash
VERSION=$(cat VERSION)
# Get version and remove the leading 'v'
VERSION=$(cat VERSION | sed "s/^v//")
sed -i "s/^version.*/version: ${VERSION}/" charts/spark-operator-chart/Chart.yaml
sed -i "s/^appVersion.*/appVersion: ${VERSION}/" charts/spark-operator-chart/Chart.yaml
```
Expand Down

0 comments on commit 35152bf

Please sign in to comment.