mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-12-25 18:48:30 +00:00
ensure sync-from-upstream catches lh
This commit is contained in:
parent
aceaccea7a
commit
96ec5dead1
1 changed files with 6 additions and 0 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue