We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974e483 commit d0c30c2Copy full SHA for d0c30c2
1 file changed
.github/workflows/publish.yaml
@@ -73,7 +73,7 @@ jobs:
73
- name: Wait for core chart availability in Helm repo
74
run: |
75
# Find the highest core version required by any dependent chart
76
- NEEDED_VERSION=$(grep -A2 'name: charts-core' charts/*/Chart.yaml | grep 'version:' | awk '{print $2}' | tr -d '"' | sort -V | tail -1)
+ NEEDED_VERSION=$(grep -A1 'name: charts-core' charts/*/Chart.yaml | grep 'version:' | sed 's/.*version:[[:space:]]*//' | tr -d '"' | sort -V | tail -1)
77
if [ -z "$NEEDED_VERSION" ]; then
78
echo "No charts depend on charts-core, skipping wait."
79
exit 0
0 commit comments