mirror of https://github.com/zulip/zulip.git
build-pgroonga: Upgrade PGroonga from 2.3.6 to 3.0.3.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
a2db6df826
commit
83c0ed2a9d
|
@ -1,14 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
version="2.3.6"
|
version="3.0.3"
|
||||||
sha256=fc68a66a216e304bb0e2ef627f767fff528f4fbf2bbda27e8cd8db1b7ba090b0
|
sha256=0c54af17afcf7c18e1a3aafadd5d5f7706a9fbcaebd56f4a38664847608e5c97
|
||||||
|
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
trap 'rm -r "$tmpdir"' EXIT
|
trap 'rm -r "$tmpdir"' EXIT
|
||||||
cd "$tmpdir"
|
cd "$tmpdir"
|
||||||
tarball="pgroonga-$version.tar.gz"
|
tarball="pgroonga-$version.tar.gz"
|
||||||
curl -fLO --retry 3 "https://packages.groonga.org/source/pgroonga/$tarball"
|
curl -fLO --retry 3 "https://github.com/pgroonga/pgroonga/releases/download/$version/$tarball"
|
||||||
sha256sum -c <<<"$sha256 $tarball"
|
sha256sum -c <<<"$sha256 $tarball"
|
||||||
tar -xzf "$tarball"
|
tar -xzf "$tarball"
|
||||||
cd "pgroonga-$version"
|
cd "pgroonga-$version"
|
||||||
|
|
Loading…
Reference in New Issue