ensure sync-from-upstream catches lh

This commit is contained in:
Louis Abel 2022-08-05 11:35:28 -07:00
parent aceaccea7a
commit 96ec5dead1
Signed by: label
GPG key ID: B37E62D143879B36

View file

@ -4,6 +4,12 @@ if [ -z $1 ]; then
HOWMANY="-1"
fi
BRANCH=$(git branch --show-current)
if [[ ! "${BRANCH}" =~ "lh" ]]; then
echo "Not a lookahead branch."
exit 1
fi
echo "Fetching from upstream"
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream
echo "Formatting patch and applying..."