Blob Blame History Raw
#! /bin/sh

# Prepare rawhide branch, review the list of branches below and then execute this
# script.

branches='rawhide epel9 epel8 epel7 f34 f35'

exit_handler ()
    git checkout rawhide

trap exit_handler EXIT

set -e
set -x

koji hello

for branch in $branches; do
    if test $branch != rawhide; then
        git checkout "$branch"
        git merge rawhide
    git push
    tasks="${tasks}`fedpkg build --nowait | grep 'Created task' | cut -d: -f2`"

koji watch-task $tasks

git checkout rawhide
fedpkg update