Lines Matching refs:nghttp2
3 # Shell script to update nghttp2 in the source tree to specific version
15 const res = await fetch('https://api.github.com/repos/nghttp2/nghttp2/releases/latest');
22 CURRENT_VERSION=$(grep "#define NGHTTP2_VERSION" ./deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h | sed -n "s/^.*VERSION \"\(.*\)\"/\1/p")
27 echo "Skipped because nghttp2 is on the latest version."
44 NGHTTP2_TARBALL="nghttp2-$NEW_VERSION.tar.gz"
48 echo "Fetching nghttp2 source archive"
49 curl -sL -o "$NGHTTP2_TARBALL" "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/$NGHTTP2_TARBALL"
51 DEPOSITED_CHECKSUM=$(curl -sL "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/checksums.txt" | grep "$NGHTTP2_TARBALL")
53 log_and_verify_sha256sum "nghttp2" "$NGHTTP2_TARBALL" "$DEPOSITED_CHECKSUM"
57 mv "nghttp2-$NEW_VERSION" nghttp2
60 cd nghttp2
70 cp "$DEPS_DIR/nghttp2/lib/includes/config.h" "$WORKSPACE/nghttp2/lib/includes"
73 cp "$DEPS_DIR/nghttp2/nghttp2.gyp" "$WORKSPACE/nghttp2"
75 echo "Replacing existing nghttp2"
76 rm -rf "$DEPS_DIR/nghttp2"
77 mv "$WORKSPACE/nghttp2" "$DEPS_DIR/"
81 echo "Please git add nghttp2, commit the new version:"
83 echo "$ git add -A deps/nghttp2"
84 echo "$ git commit -m \"deps: update nghttp2 to $NEW_VERSION\""