File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ DEPS_DIR="$BASE_DIR/deps"
88[ -z " $NODE " ] && NODE=" $BASE_DIR /out/Release/node"
99[ -x " $NODE " ] || NODE=$( command -v node)
1010
11+ # shellcheck disable=SC1091
12+ . " $BASE_DIR /tools/dep_updaters/utils.sh"
13+
1114NEW_VERSION=" $( " $NODE " --input-type=module << 'EOF '
1215const res = await fetch('https://api.github.com/repos/HdrHistogram/HdrHistogram_c/releases/latest');
1316if (!res.ok) throw new Error(`FetchError: ${res.status} ${res.statusText}`, { cause: res });
@@ -45,6 +48,8 @@ echo "Fetching histogram source archive"
4548
4649curl -sL -o " $HISTOGRAM_TARBALL " " https://github.com/HdrHistogram/HdrHistogram_c/archive/refs/tags/$HISTOGRAM_TARBALL "
4750
51+ log_and_verify_sha256sum " histogram" " $HISTOGRAM_TARBALL "
52+
4853gzip -dc " $HISTOGRAM_TARBALL " | tar xf -
4954
5055rm " $HISTOGRAM_TARBALL "
You can’t perform that action at this time.
0 commit comments