mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
ci: Fix jq command (#51510)
Sigh.. The missing flag caused the wrong output to be used, resulting in an error in the process. Release Notes: - N/A
This commit is contained in:
parent
ccb2674a77
commit
bb6a6e0305
2 changed files with 2 additions and 2 deletions
2
.github/workflows/extension_auto_bump.yml
vendored
2
.github/workflows/extension_auto_bump.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
for ext in $(echo "$EXTENSIONS_JSON" | jq -r '.[]'); do
|
||||
if git show HEAD~1:"$ext/extension.toml" >/dev/null 2>&1 && \
|
||||
[ -f "$ext/extension.toml" ]; then
|
||||
FILTERED=$(echo "$FILTERED" | jq --arg e "$ext" '. + [$e]')
|
||||
FILTERED=$(echo "$FILTERED" | jq -c --arg e "$ext" '. + [$e]')
|
||||
fi
|
||||
done
|
||||
echo "changed_extensions=$FILTERED" >> "$GITHUB_OUTPUT"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ fn detect_changed_extensions() -> NamedJob {
|
|||
for ext in $(echo "$EXTENSIONS_JSON" | jq -r '.[]'); do
|
||||
if git show HEAD~1:"$ext/extension.toml" >/dev/null 2>&1 && \
|
||||
[ -f "$ext/extension.toml" ]; then
|
||||
FILTERED=$(echo "$FILTERED" | jq --arg e "$ext" '. + [$e]')
|
||||
FILTERED=$(echo "$FILTERED" | jq -c --arg e "$ext" '. + [$e]')
|
||||
fi
|
||||
done
|
||||
echo "changed_extensions=$FILTERED" >> "$GITHUB_OUTPUT"
|
||||
|
|
|
|||
Loading…
Reference in a new issue