Skip to content

Commit

Permalink
fix dir
Browse files Browse the repository at this point in the history
  • Loading branch information
YaphetKG committed Oct 23, 2024
1 parent 3ae5304 commit d29bb54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
set -e # Exit immediately if any command exits with a non-zero status
for chart in helm/*/; do
if [ -f "$chart/Chart.yaml" ]; then
chart_name=$(basename "$chart")
chart_name=$(yq eval '.name' "$chart/Chart.yaml")
version=$(yq eval '.version' "$chart/Chart.yaml")
if [ -z "$version" ]; then
echo "Error: Could not find version in $chart_name/Chart.yaml"
Expand All @@ -48,6 +48,7 @@ jobs:
echo "Pushing $chart_name with version $version to OCI registry"
helm push ./packages/"$chart_name-$version.tgz" oci://containers.renci.org/translator/
rm ./packages/"$chart_name-$version.tgz"
else
echo "Error: Chart.yaml not found in $chart"
exit 1
Expand Down

0 comments on commit d29bb54

Please sign in to comment.