blob: ebf8250f234b46b730b4994cf9dab2d13dd2d972 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
TEMPFILE="$(mktemp PKGBUILD.XXXXXXXXXX)"
python update.py > "$TEMPFILE"
updpkgsums "$TEMPFILE"
mv "$TEMPFILE" PKGBUILD
if ! git diff --quiet -- PKGBUILD .SRCINFO; then
mksrcinfo
git add PKGBUILD .SRCINFO
(. PKGBUILD; git commit -m "s25rttr-nightly-bin $pkgver")
fi
|