Forcing one of the files to change so we might actually get a new build.

revert-573-cleanup_build_scripts v3.1.0-stable
Paul Speed 8 years ago
parent 2761bc3677
commit af04bf9d22
  1. 10
      jme3-core/src/main/java/com/jme3/system/JmeVersion.java

@ -38,14 +38,14 @@ import java.util.logging.Logger;
/** /**
* Pulls in version info from the version.properties file. * Pulls in version info from the version.properties file.
* *
* @author Kirill Vainer * @author Kirill Vainer
*/ */
public class JmeVersion { public class JmeVersion {
private static final Logger logger = Logger.getLogger(JmeVersion.class.getName()); private static final Logger logger = Logger.getLogger(JmeVersion.class.getName());
private static final Properties props = new Properties(); private static final Properties props = new Properties();
static { static {
try { try {
props.load(JmeVersion.class.getResourceAsStream("version.properties")); props.load(JmeVersion.class.getResourceAsStream("version.properties"));
@ -53,12 +53,12 @@ public class JmeVersion {
logger.log(Level.WARNING, "Unable to read version info!", ex); logger.log(Level.WARNING, "Unable to read version info!", ex);
} }
} }
public static final String BUILD_DATE = props.getProperty("build.date", "1900-01-01"); public static final String BUILD_DATE = props.getProperty("build.date", "1900-01-01");
public static final String BRANCH_NAME = props.getProperty("git.branch", "unknown"); public static final String BRANCH_NAME = props.getProperty("git.branch", "unknown");
public static final String GIT_HASH = props.getProperty("git.hash", ""); public static final String GIT_HASH = props.getProperty("git.hash", "");
public static final String GIT_SHORT_HASH = props.getProperty("git.hash.short", ""); public static final String GIT_SHORT_HASH = props.getProperty("git.hash.short", "");
public static final String GIT_TAG = props.getProperty("git.tag", ""); public static final String GIT_TAG = props.getProperty("git.tag", "3.1-unknown");
public static final String VERSION_NUMBER = props.getProperty("version.number", ""); public static final String VERSION_NUMBER = props.getProperty("version.number", "");
public static final String VERSION_TAG = props.getProperty("version.tag", ""); public static final String VERSION_TAG = props.getProperty("version.tag", "");
public static final String VERSION_FULL = props.getProperty("version.full", ""); public static final String VERSION_FULL = props.getProperty("version.full", "");

Loading…
Cancel
Save