commit 3e4b3d0bedb983297370c8ef5af1dcca09bb9fdb
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Apr 9 20:41:37 2020 +0100
Update script
update_smplayer.sh | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 4107869..60a3c18 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -2,6 +2,7 @@ version=20.4.0
#stube_ver=19.6.0
themes_ver=18.6.0
skins_ver=15.2.0
+REPOS="f32 f31 f30 el7"
if [ -z "$1" ]
then
@@ -39,12 +40,15 @@ fi
if test $stage -le 1
then
echo STAGE 1
-echo Press enter to continue; read dummy;
+echo Press enter to push and build in rawhide; read dummy;
rfpkg push && rfpkg build --nowait
echo Press enter to continue; read dummy;
-git checkout f31 && git merge master && git push && rfpkg build
--nowait; git checkout master
-echo Press enter to continue; read dummy;
-git checkout f30 && git merge master && git push && rfpkg build
--nowait; git checkout master
-echo Press enter to continue; read dummy;
-git checkout el7 && git merge master && git push && rfpkg build
--nowait; git checkout master
+fi
+
+if test $stage -le 2
+then
+for repo in $REPOS ; do
+echo Press enter to build on branch $repo; read dummy;
+git checkout $repo && git merge master && git push && rfpkg build
--nowait; git checkout master
+done
fi
Show replies by date