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"
8
8
[ -z " $NODE " ] && NODE=" $BASE_DIR /out/Release/node"
9
9
[ -x " $NODE " ] || NODE=$( command -v node)
10
10
11
+ # shellcheck disable=SC1091
12
+ . " $BASE_DIR /tools/dep_updaters/utils.sh"
13
+
11
14
NEW_VERSION=" $( " $NODE " --input-type=module << 'EOF '
12
15
const res = await fetch('https://api.github.com/repos/HdrHistogram/HdrHistogram_c/releases/latest');
13
16
if (!res.ok) throw new Error(`FetchError: ${res.status} ${res.statusText}`, { cause: res });
@@ -45,6 +48,8 @@ echo "Fetching histogram source archive"
45
48
46
49
curl -sL -o " $HISTOGRAM_TARBALL " " https://github.com/HdrHistogram/HdrHistogram_c/archive/refs/tags/$HISTOGRAM_TARBALL "
47
50
51
+ log_and_verify_sha256sum " histogram" " $HISTOGRAM_TARBALL "
52
+
48
53
gzip -dc " $HISTOGRAM_TARBALL " | tar xf -
49
54
50
55
rm " $HISTOGRAM_TARBALL "
You can’t perform that action at this time.
0 commit comments