Skip to content

Commit 8af70b1

Browse files
committed
bugfix grep command
1 parent ac52283 commit 8af70b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ jobs:
374374
set -euo pipefail
375375
VALUES_FILE="oss/charts/v2/airbyte/values.yaml"
376376
# Get the current manifest-server tag from the values.yaml file
377-
PREVIOUS_VERSION=$(grep -A4 "^manifestServer:" "$VALUES_FILE" | grep "tag:" | awk '{print $2}')
377+
PREVIOUS_VERSION=$(grep -A15 "^manifestServer:" "$VALUES_FILE" | grep -A4 "image:" | grep "tag:" | awk '{print $2}')
378378
echo "Previous version: ${PREVIOUS_VERSION}"
379379
echo "New version: ${VERSION}"
380380
# Update the manifest-server tag in the Helm values file (preserves formatting)

0 commit comments

Comments
 (0)