Skip to content

Commit d0c30c2

Browse files
author
Lukasz Chwastyk
committed
test
1 parent 974e483 commit d0c30c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Wait for core chart availability in Helm repo
7474
run: |
7575
# 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)
76+
NEEDED_VERSION=$(grep -A1 'name: charts-core' charts/*/Chart.yaml | grep 'version:' | sed 's/.*version:[[:space:]]*//' | tr -d '"' | sort -V | tail -1)
7777
if [ -z "$NEEDED_VERSION" ]; then
7878
echo "No charts depend on charts-core, skipping wait."
7979
exit 0

0 commit comments

Comments
 (0)