Blob Blame History Raw
VERSION=6.1.2
REL=1
RAWHIDE=32
BRANCHES="f31 f30"

git checkout master
git pull
rpmdev-bumpspec -n $VERSION -c "Update Virtualbox Guest Additions to $VERSION" virtualbox-guest-additions.spec
spectool -g virtualbox-guest-additions.spec
fedpkg new-sources ./VirtualBox-$VERSION.tar.bz2
fedpkg srpm && copr-cli build sergiomb/vboxfor23 virtualbox-guest-additions-$VERSION-$REL.fc$RAWHIDE.src.rpm
echo Press enter to continue; read dummy;
fedpkg ci -c && git show
echo Press enter to continue; read dummy;
fedpkg push && fedpkg build --nowait
for BRANCH in $BRANCHES ; do
echo Press enter to build $BRANCH to continue; read dummy;
git checkout $BRANCH && git merge master && git push && fedpkg build --nowait; git checkout master
done