sha256-releases
This file
1#!/bin/sh23set -e45if [ $# != 1 ]; then6 echo "Usage: $(basename $0) version" >&27 exit 18fi9version="$1"1011# Linux and Darwin builds.12for arch in i686 x86_64; do13 for target in apple-darwin unknown-linux-musl; do14 url="https://github.com/BurntSushi/ripgrep/releases/download/$version/ripgrep-$version-$arch-$target.tar.gz"15 sha=$(curl -sfSL "$url" | sha256sum)16 echo "$version-$arch-$target $sha"17 done18done1920# Source.21for ext in zip tar.gz; do22 url="https://github.com/BurntSushi/ripgrep/archive/$version.$ext"23 sha=$(curl -sfSL "$url" | sha256sum)24 echo "source.$ext $sha"25done