Lines Matching refs:base64
3 # Shell script to update base64 in the source tree to a specific version
15 const res = await fetch('https://api.github.com/repos/aklomp/base64/releases/latest');
22 CURRENT_VERSION=$(grep "base64 LANGUAGES C VERSION" ./deps/base64/base64/CMakeLists.txt | sed -n "s/^.*VERSION \(.*\))/\1/p")
27 echo "Skipped because base64 is on the latest version."
45 BASE64_TARBALL="base64-v$NEW_VERSION.tar.gz"
47 echo "Fetching base64 source archive"
48 curl -sL -o "$BASE64_TARBALL" "https://api.github.com/repos/aklomp/base64/tarball/v$NEW_VERSION"
49 log_and_verify_sha256sum "base64" "$BASE64_TARBALL"
52 mv aklomp-base64-* base64
54 echo "Replacing existing base64"
55 rm -rf "$DEPS_DIR/base64/base64"
56 mv "$WORKSPACE/base64" "$DEPS_DIR/base64/"
58 # Build configuration is handled by `deps/base64/base64.gyp`, but since `config.h` has to be present for the build
60 echo "// Intentionally empty" > "$DEPS_DIR/base64/base64/lib/config.h"
64 echo "# Intentionally empty" > "$DEPS_DIR/base64/base64/.gitignore"
68 echo "Please git add base64/base64, commit the new version:"
70 echo "$ git add -A deps/base64/base64 src/base64_version.h"
71 echo "$ git commit -m \"deps: update base64 to $NEW_VERSION\""
77 // Refer to tools/dep_updaters/update-base64.sh