diff options
author | Marco Ippolito <marcoippolito54@gmail.com> | 2023-04-03 11:52:59 +0200 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2023-04-11 13:19:14 +0000 |
commit | 4899998d0dc84d3955b5c7059f2dcb29021fb9a0 (patch) | |
tree | 6b22c291dad5679bc5f5dabf5609b1f974e66a7b /.github | |
parent | 76dfb778160b49557703cad309f1d736108de1c9 (diff) | |
download | node-new-4899998d0dc84d3955b5c7059f2dcb29021fb9a0.tar.gz |
tools: move update-undici.sh to dep_updaters and create maintain md
PR-URL: https://github.com/nodejs/node/pull/47380
Refs: https://github.com/nodejs/security-wg/issues/828
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tools.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 5ba655e9d8..a64994bf07 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -69,12 +69,10 @@ jobs: subsystem: deps label: dependencies run: | - NEW_VERSION=$(npm view undici dist-tags.latest) - CURRENT_VERSION=$(node -p "require('./deps/undici/src/package.json').version") - if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then - echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV - ./tools/update-undici.sh - fi + ./tools/dep_updaters/update-undici.sh > temp-output + cat temp-output + tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true + rm temp-output - id: postject subsystem: deps,test label: test |