commit 75bcbc2e2087603828fb95465aeee23770355499
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jun 14 13:33:15 2024 +0100
A few fixes on check_new_version.py preparing to use .github workflows
check_new_version.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index c43cca8..bb7d0e4 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -40,15 +40,12 @@ if spec != spec3:
print('error running runme')
print("New version available!")
- print('rfpkg mockbuild -N --default-mock-resultdir --root
fedora-38-x86_64-rpmfusion_nonfree')
+ print('rfpkg mockbuild -N --default-mock-resultdir --root
fedora-39-x86_64-rpmfusion_nonfree')
else:
print("Already updated !")
print('spectool -g discord.spec')
-print(''' rfpkg new-sources $(spectool -l --sources discord.spec | grep https
| sed 's/.*: //;s/.*\///') ''')
+print("rfpkg new-sources $(spectool -l --sources discord.spec | grep https | sed
's/.*: //;s#.*/##')")
print('rfpkg ci -c && git show && echo Press enter to push and build;
read dummy; rfpkg push && rfpkg build --nowait')
print('git checkout f40 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
print('git checkout f39 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
-print('git checkout f38 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
-print('git checkout el9 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
-print('git checkout el8 && git merge master && git push &&
rfpkg build --nowait; git checkout master')