Skip to content
Snippets Groups Projects
Verified Commit 7186a487 authored by Louis Abel's avatar Louis Abel :tv:
Browse files

sync script should only be ran on r9s

parent 3c64ff13
Branches r9
No related tags found
No related merge requests found
......@@ -4,6 +4,12 @@ if [ -z $1 ]; then
HOWMANY="-1"
fi
BRANCH=$(git branch --show-current)
if [[ ! "${BRANCH}" =~ "r9s" ]]; then
echo "Not a lookahead branch."
exit 1
fi
echo "Fetching from upstream"
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/module-defaults.git c9s
echo "Formatting patch and applying..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment