diff --git a/cr.sh b/cr.sh index 4897b65..9a545e7 100755 --- a/cr.sh +++ b/cr.sh @@ -96,9 +96,12 @@ main() { IFS=, echo "${changed_charts[*]}" )" >changed_charts.txt + + echo "chart_version=${latest_tag}" >chart_version.txt else echo "Nothing to do. No chart changes detected." echo "changed_charts=" >changed_charts.txt + echo "chart_version=" >chart_version.txt fi else install_chart_releaser @@ -108,8 +111,6 @@ main() { update_index fi - echo "chart_version=${latest_tag}" >chart_version.txt - popd >/dev/null }