Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
replace in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmuge committed Jan 15, 2022
1 parent 799bcfd commit cd15a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ image_version_file="VERSION"
new_version="v$MAJOR.$MINOR.$PATCH"

echo "$new_version" > ${image_version_file}
sed -i "s/appVersion: .*/appVersion: $new_version/g" "./chart/Chart.yaml"
sed -i "" "s/appVersion: .*/appVersion: $new_version/g" ./chart/Chart.yaml

git add ${image_version_file} ./chart/Chart.yaml
git commit -am "Release $new_version
Expand Down

0 comments on commit cd15a91

Please sign in to comment.