Skip to content

Commit

Permalink
Fix version sed for chart version
Browse files Browse the repository at this point in the history
The chart version sed command was inadvertantly overwriting the
rancher-version annotation. This change fixes that issue.
  • Loading branch information
Donnie Adams committed May 19, 2021
1 parent 41aa259 commit b1bc761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/package-helm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkdir -p build dist/artifacts
cp -rf charts build/

sed -i \
-e 's/version:.*/version: '${HELM_VERSION}'/' \
-e 's/^version:.*/version: '${HELM_VERSION}'/' \
-e 's/appVersion:.*/appVersion: '${HELM_VERSION}'/' \
build/charts/gke-operator/Chart.yaml

Expand All @@ -22,7 +22,7 @@ sed -i \
build/charts/gke-operator/values.yaml

sed -i \
-e 's/version:.*/version: '${HELM_VERSION}'/' \
-e 's/^version:.*/version: '${HELM_VERSION}'/' \
-e 's/appVersion:.*/appVersion: '${HELM_VERSION}'/' \
build/charts/gke-operator-crd/Chart.yaml

Expand Down

0 comments on commit b1bc761

Please sign in to comment.