commit:     d95b69ec1905b95bb9d34d82a4b33c1250a082c1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 08:45:59 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 09:09:19 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=d95b69ec

Documentation: frameworks-bump.sh: Support KF6 unstable releases

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 Documentation/maintainers/new/frameworks-bump.sh | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/maintainers/new/frameworks-bump.sh 
b/Documentation/maintainers/new/frameworks-bump.sh
index 9180a1a5c9..84b2813b49 100755
--- a/Documentation/maintainers/new/frameworks-bump.sh
+++ b/Documentation/maintainers/new/frameworks-bump.sh
@@ -6,7 +6,7 @@
 help() {
        echo "Perform a version bump of KDE Frameworks 5 or 6."
        echo
-       echo "Based on the kde-frameworks-(5|6)-live set, this script performs 
a full version bump"
+       echo "Based on the kde-frameworks-(5-)live sets, this script performs a 
full version bump"
        echo "of a new unreleased KDE Frameworks."
        echo
        echo "In addition to the new ebuild being created, the following 
operations are performed:"
@@ -34,12 +34,17 @@ if [[ -z "${VERSION}" ]] ; then
 fi
 
 major_version=$(echo ${VERSION} | cut -d "." -f 1)
+if [[ ${VERSION} == 5.2[4-9]?.? ]]; then
+       major_version=6
+fi
 major_minor_version=$(echo ${VERSION} | cut -d "." -f 1-2)
-kfmv="kde-frameworks-${major_version}-${major_minor_version}"
-setname="kde-frameworks-${major_version}"
 if [[ ${major_version} == 5 ]]; then
+       kfmv="kde-frameworks-${major_version}-${major_minor_version}"
        base_version=5.239.9999
+       setname="kde-frameworks-${major_version}"
 else
+       kfmv="kde-frameworks-${major_minor_version}"
+       setname="kde-frameworks"
        base_version=9999
 fi
 

Reply via email to