Page 1 of 1

Version configuration

PostPosted: 03 Dec 2013, 12:51
by Lodici
I thought I should highlight that as part of the recent UI updates the version info -
Code: Select all
    public static final String VERSION = "1.45";
    public static final String SOFTWARE_TITLE = "Magarena " + VERSION;
has moved to MagicMain from VersionPanel.

I would also like to suggest that the version is further extracted to a property file so that
  • it's not hard coded into the source code.
  • the property file could automatically be updated with the Jenkins build number so, for example, we could display 1.45.579 which would directly link the running version to jenkins build 579 and in turn to the associated mercurial changesets.
  • it can help to distinguish between official release and daily/snapshot builds, eg. 1.45.SNAPSHOT-579.