Bug 452531

Summary: Skrooge's flatpak info indicates old version
Product: [Applications] skrooge Reporter: skierpage <skierpage>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: minor CC: stephane
Priority: NOR    
Version: Trunk from git   
Target Milestone: 25.1.0   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description skierpage 2022-04-12 00:28:50 UTC
SUMMARY
https://flathub.org/apps/details/org.kde.skrooge  or  `flatpak info org.kde.skrooge//stable`  and  `flatpak info org.kde.skrooge//master`  both report Skrooge's version as 2.20.0, which is from 2020. Both Flathub and kdeapps are way beyond that.

EXPECTED RESULT
Show the same version that the about box and `flatpak run org.kde.skrooge --version` report.

ADDITIONAL INFORMATION
I think the fix is easy, just add a line to the <releases> element in skrooge/org.kde.skrooge.appdata.xml; the latest one is
    <release version="2.20.0" date="2019-06-20"/>
Probably should add the other releases here as well. Maybe there's a way to automate adding to this on each version change.

It seems the Flathub flatpak recipe attempts to insert a newer version line as a local workaround, https://github.com/flathub/org.kde.skrooge/blob/master/org.kde.skrooge.json#L233 :
     "sed -i '517i <release version=\"2.24.6\" date=\"2020-12-05\"/>' skrooge/org.kde.skrooge.appdata.xml"
but this is also out of date and it does it in the wrong place ;-)