El Dimarts, 23 de juny de 2015, a les 09:30:10, Christoph Cullmann va escriure: > > El Dimarts, 9 de juny de 2015, a les 07:52:49, Christoph Cullmann va > > > > escriure: > > > Hi, > > > > > > dear release team, would it make sense to have some script updated > > > KDE Application Release Version in CMake to auto-version the bundled > > > applications (if wanted by the application maintainer)? > > > > How would you do that? Scripts doing magic are nice, but can you describe > > how the magic would work? > > I would do the same like for frameworks. > > All projects that are included in kde applications x.xx would have a CMake > variable like the frameworks > > set(KF5_VERSION "5.12.0") # handled by release scripts > > but (KDE Applications or whatever): > > set(KA5_VERSION "15.04") # handled by release scripts > > and after each release that gets auto-incremented to the next one. > > Applications that want to use that, then can just define their own version > based on this var. Applications that don't want to use that, don't need to > do anything.
This looks doable, i think it makes sense to have three different variables major, minor, patch, so you can decide which ones to use. Would you volunteer to work on such a script? Cheers, Albert > > Greetings > Christoph _______________________________________________ release-team mailing list [email protected] https://mail.kde.org/mailman/listinfo/release-team
