correct file
#modify Chart.yaml based on whether workflow was triggered by a new tag or a file update in ./deploy/helm
if [[ ${GITHUB_REF##*/} == "v"* ]]; then
- sed -i -e "s/^appVersion:.*/appVersion: ${GITHUB_REF##*/}/" ./resultsFiles/envOutput.yaml
- sed -i -e "s/^version:.*/version: $GITHUB_RUN_NUMBER/" ./resultsFiles/envOutput.yaml
+ sed -i -e "s/^appVersion:.*/appVersion: ${GITHUB_REF##*/}/" ./deploy/helm/kuberhealthy/Chart.yaml
+ sed -i -e "s/^version:.*/version: $GITHUB_RUN_NUMBER/" ./deploy/helm/kuberhealthy/Chart.yaml
else
- sed -i -e "s/^version:.*/version: $GITHUB_RUN_NUMBER/" ./resultsFiles/envOutput.yaml
+ sed -i -e "s/^version:.*/version: $GITHUB_RUN_NUMBER/" ./deploy/helm/kuberhealthy.Chart.yaml
fi
# the github action we use has helm 3 (required) as 'helmv3' in its path, so we alias that in and use it if present
