-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump: ChartVersion 0.11.8. AppVersion 0.11.8
- Loading branch information
David Tuite
committed
Jul 16, 2020
1 parent
8c218e1
commit c74795f
Showing
5 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# brew install yq | ||
|
||
if [ -z "$1" ] ; then | ||
echo "Bump mode required: major|minor|patch" | ||
exit 1 | ||
fi | ||
|
||
CURRENT_VERSION=$(yq r helm_chart/Chart.yaml appVersion) | ||
NEW_VERSION=$(./bin/bump.sh $CURRENT_VERSION $1) | ||
|
||
echo "Bumping app version in $1 mode from $CURRENT_VERSION to $NEW_VERSION" | ||
yq w -i helm_chart/Chart.yaml appVersion $NEW_VERSION | ||
yq w -i helm_chart/values.yaml image.tag $NEW_VERSION | ||
|
||
echo "Bumping chart version in $1 mode from $CURRENT_VERSION to $NEW_VERSION" | ||
yq w -i helm_chart/Chart.yaml version $NEW_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters