Skip to content

Commit

Permalink
drop pgp, trust gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
matslina committed Nov 6, 2023
1 parent d7dc8db commit 84ecae8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/fetch-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ rm -rf "/tmp/${LIBWEBP_VERSION}"
mkdir -p "/tmp/$LIBWEBP_VERSION"
pushd "/tmp/$LIBWEBP_VERSION" > /dev/null

# WebP release signing key.
gpg --receive-keys --keyserver hkps://keyserver.ubuntu.com 6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D 2>/dev/null

echo "Fetching WebP Binaries"
for ARCH in $RELEASE_ARCHS
do
if [[ $ARCH == windows* ]]; then
curl -sLO "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${LIBWEBP_VERSION}-${ARCH}.zip"
curl -sLO "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${LIBWEBP_VERSION}-${ARCH}.zip.asc"
gpg --verify "${LIBWEBP_VERSION}-${ARCH}.zip.asc" "${LIBWEBP_VERSION}-${ARCH}.zip" 2>/dev/null
unzip -q "${LIBWEBP_VERSION}-${ARCH}.zip" -d "${ARCH}"
else
curl -sLO "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${LIBWEBP_VERSION}-${ARCH}.tar.gz"
curl -sLO "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${LIBWEBP_VERSION}-${ARCH}.tar.gz.asc"
gpg --verify "${LIBWEBP_VERSION}-${ARCH}.tar.gz.asc" "${LIBWEBP_VERSION}-${ARCH}.tar.gz" 2>/dev/null
tar -xf "${LIBWEBP_VERSION}-${ARCH}.tar.gz"
mv "${LIBWEBP_VERSION}-${ARCH}" "${ARCH}"
fi
Expand Down

0 comments on commit 84ecae8

Please sign in to comment.