Author Topic: RFC: Update resources.rc on build so codeblocks.exe version includes SVN#  (Read 1175 times)

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 654
Just spotted in the RPT file the codeblocks.exe version as even for the nightly releases as the src\src\resources\resources.rc file has the FileVersion set to ( & ProductVersion & Build "March 2020" btw).
It would be nice to be able to look at the codeblocks.exe version in the RPT file and see what SVN it relates to, even for a official release.

As such if possible the FileVersion &  ProductVersion should be updated to include the SVN # as the last number like MAJOR.MINOR.REVISION.SVN# and also update the Build to the current month and year in a similar way that the src\include\autorevision.h is created/updated on a build.

What do people think? If it is going to fly then I will create a ticket for it as I am working on other stuff at the moment.