From 379c0b48f38199fd89d2824c223080f7cca6796c Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 13 May 2026 00:40:53 +0200 Subject: [PATCH 1/2] tools: fix test426 updater The previous version produces a commit that does pass the linter because of a too-long commit title. Signed-off-by: Antoine du Hamel --- tools/dep_updaters/update-test426-fixtures.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/dep_updaters/update-test426-fixtures.sh b/tools/dep_updaters/update-test426-fixtures.sh index a1a97797c29357..c39e0b7720c646 100755 --- a/tools/dep_updaters/update-test426-fixtures.sh +++ b/tools/dep_updaters/update-test426-fixtures.sh @@ -17,10 +17,10 @@ fi TARBALL_URL=$(curl -fsIo /dev/null -w '%header{Location}' https://github.com/tc39/source-map-tests/archive/HEAD.tar.gz) SHA=$(basename "$TARBALL_URL") -if [ "$CURRENT_SHA" = "$SHA" ]; then - echo "Already up-to-date" - exit 0 -fi +# shellcheck disable=SC1091 +. "$BASE_DIR/tools/dep_updaters/utils.sh" + +compare_dependency_version "test426-fixtures" "$CURRENT_SHA" "$SHA" rm -rf "$TARGET_DIR" mkdir "$TARGET_DIR" @@ -32,4 +32,4 @@ mv "$TMP_FILE" "$README" # The last line of the script should always print the new version, # as we need to add it to $GITHUB_ENV variable. -echo "NEW_VERSION=$SHA" +echo "NEW_VERSION=$(echo "$SHA" | head -c 39)" From 267989b4b3dba71149e7ca6e28f300d5b7cacce8 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 13 May 2026 00:49:54 +0200 Subject: [PATCH 2/2] fixup! tools: fix test426 updater --- tools/dep_updaters/update-test426-fixtures.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/dep_updaters/update-test426-fixtures.sh b/tools/dep_updaters/update-test426-fixtures.sh index c39e0b7720c646..e9cca0dfac815e 100755 --- a/tools/dep_updaters/update-test426-fixtures.sh +++ b/tools/dep_updaters/update-test426-fixtures.sh @@ -32,4 +32,5 @@ mv "$TMP_FILE" "$README" # The last line of the script should always print the new version, # as we need to add it to $GITHUB_ENV variable. -echo "NEW_VERSION=$(echo "$SHA" | head -c 39)" +NEW_VERSION=$(echo "$SHA" | head -c 39) +echo "NEW_VERSION=$NEW_VERSION"