aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-lockfile.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-lockfile.yml')
-rw-r--r--.github/workflows/update-lockfile.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml
index 41ab41308..eaceb9647 100644
--- a/.github/workflows/update-lockfile.yml
+++ b/.github/workflows/update-lockfile.yml
@@ -45,7 +45,7 @@ jobs:
git config user.name "GitHub"
git config user.email "noreply@github.com"
git add lockfile.json
- UPDATED_PARSERS=$(/tmp/jd -set /tmp/old_lockfile.json lockfile.json | sed -n '/@/s/","revision"]//;s/"]//;s/@ \["//p' | sed 'N;s/\n/, /')
+ UPDATED_PARSERS=$(/tmp/jd -f merge /tmp/old_lockfile.json lockfile.json | jq -r 'keys | join(", ")')
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV
git commit -m "Update parsers: $UPDATED_PARSERS" || echo 'No commit necessary!'
git clean -xf