GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: fix test426 updater · nodejs/node@55af0f0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/dep_updaters
    • update-test426-fixtures.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/dep_updaters/update-test426-fixtures.sh‎

Copy file name to clipboardExpand all lines: tools/dep_updaters/update-test426-fixtures.sh
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ fi
1717
TARBALL_URL=$(curl -fsIo /dev/null -w '%header{Location}' https://github.com/tc39/source-map-tests/archive/HEAD.tar.gz)
1818
SHA=$(basename "$TARBALL_URL")
1919

20-
if [ "$CURRENT_SHA" = "$SHA" ]; then
21-
echo "Already up-to-date"
22-
exit 0
23-
fi
20+
# shellcheck disable=SC1091
21+
. "$BASE_DIR/tools/dep_updaters/utils.sh"
22+
23+
compare_dependency_version "test426-fixtures" "$CURRENT_SHA" "$SHA"
2424

2525
rm -rf "$TARGET_DIR"
2626
mkdir "$TARGET_DIR"
@@ -32,4 +32,5 @@ mv "$TMP_FILE" "$README"
3232

3333
# The last line of the script should always print the new version,
3434
# as we need to add it to $GITHUB_ENV variable.
35-
echo "NEW_VERSION=$SHA"
35+
NEW_VERSION=$(echo "$SHA" | head -c 39)
36+
echo "NEW_VERSION=$NEW_VERSION"

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.