Skip to content

shell/desktopview: Change preview banner to show dev as next release

Oliver Beard requested to merge work/olib/preview-banner into master

Apologies again for merging !3097 (merged) prematurely.

This now reports development versions as the version they release as, as betas do.

Screenshot_20230808_094330

Version Before After
5.27.80 KDE Plasma 5.27.80 KDE Plasma 6.0 Dev
5.27.90 KDE Plasma 6.0 Beta KDE Plasma 6.0 Beta
5.27.91 KDE Plasma 6.0 Beta 2 KDE Plasma 6.0 Beta 2

My initial concern in doing this was that finalMajor, finalMinor would not be updated for the Plasma 7 line before the development versions were in use, and would show without increasing the major version (e.g. as "5.28 Dev" not "6.0 Dev", assuming the last version in the 5.x line was 5.27). Thinking further - this is a good thing, as it highlights that it should be updated in time for a beta release.

Edited by Oliver Beard

Merge request reports