Skip to content

Commit

Permalink
Added test environment values to versioning process
Browse files Browse the repository at this point in the history
  • Loading branch information
takama committed Oct 29, 2019
1 parent 9f192d1 commit 1416b22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bumper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ fi
if [ "${GO_OS}" == "darwin" ]; then
sed -i '' -e "s/\(RELEASE ?= \).*/\1$new_version/" Makefile
sed -i '' -e "s/\(version:\)\(\s*\).*/\1 $new_version/" .helm/Chart.yaml
sed -i '' -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-test.yaml
sed -i '' -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-dev.yaml
sed -i '' -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-prod.yaml
sed -i '' -e "s/\(# Version\)\(\s*\).*/\1 $new_version/" docs/CHANGELOG.md
else
sed -i -e "s/\(RELEASE ?= \).*/\1$new_version/" Makefile
sed -i -e "s/\(version:\)\(\s*\).*/\1 $new_version/" .helm/Chart.yaml
sed -i -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-test.yaml
sed -i -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-dev.yaml
sed -i -e "s/\(tag:\)\(\s*\).*/\1 $new_version/" .helm/values-prod.yaml
sed -i -e "s/\(# Version\)\(\s*\).*/\1 $new_version/" docs/CHANGELOG.md
Expand Down

0 comments on commit 1416b22

Please sign in to comment.