Created
July 25, 2021 20:25
-
-
Save apolzek/03c53fed0d0385bc31215f536da55d0d to your computer and use it in GitHub Desktop.
Replace version Helm Chart with sed
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
sed -i "s/^version:.*$/version: $(git describe)/" chart/Chart.yaml | |
sed -i "s/^appVersion:.*$/appVersion: $(git describe)/" chart/Chart.yaml | |
helm upgrade app ./chart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment