commit c99a27b6cd2f4976abb66bbd98de5a3e5d05610d
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Nov 23 14:20:32 2021 +0000
improve helper script
update_vbox.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/update_vbox.sh b/update_vbox.sh
index dc12997..1524c71 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -1,7 +1,7 @@
VERSION=6.1.30
REL=1
RAWHIDE=36
-REPOS="f35 f34 f33 el8 el7"
+REPOS="f35 f34 el8 el7"
if [ -z "$1" ]
then
@@ -45,11 +45,13 @@ BRANCH2=$repo
if [[ $repo == f* ]]; then
BRANCH2=fc${repo:1}
fi
-echo Press enter tag-build $BRANCH1 to continue; read dummy;
+echo Press enter tag-build $BRANCH1 to continue or n to skip; read dummy;
+if [[ "$dummy" != "n" ]]; then
echo koji-rpmfusion tag-build $BRANCH1-free-override VirtualBox-$VERSION-$REL.$BRANCH2
git checkout $BRANCH1 && git merge master && git push &&
koji-rpmfusion tag-build $BRANCH1-free-override VirtualBox-$VERSION-$REL.$BRANCH2
(koji-rpmfusion wait-repo $BRANCH1-free-build --build=VirtualBox-$VERSION-$REL.$BRANCH2
&& \
git checkout $BRANCH1 && rfpkg build --nowait; git checkout master) &
+fi
done
fi
Show replies by date