mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-11-25 14:21:36 +00:00
ensure sync-from-upstream catches lh
This commit is contained in:
parent
aceaccea7a
commit
96ec5dead1
@ -4,6 +4,12 @@ if [ -z $1 ]; then
|
|||||||
HOWMANY="-1"
|
HOWMANY="-1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BRANCH=$(git branch --show-current)
|
||||||
|
if [[ ! "${BRANCH}" =~ "lh" ]]; then
|
||||||
|
echo "Not a lookahead branch."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Fetching from upstream"
|
echo "Fetching from upstream"
|
||||||
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream
|
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream
|
||||||
echo "Formatting patch and applying..."
|
echo "Formatting patch and applying..."
|
||||||
|
Loading…
Reference in New Issue
Block a user