auto build number

This commit is contained in:
Gabriele C
2015-11-26 19:20:14 +01:00
parent 1b30139ded
commit db67c77b33
3 changed files with 52 additions and 5 deletions
+2 -3
View File
@@ -62,12 +62,11 @@ public class AuthMe extends JavaPlugin {
/**
* Defines the current AuthMeReloaded version name.
*/
private static final String PLUGIN_VERSION_NAME = "5.1-SNAPSHOT";
private static final String PLUGIN_VERSION_NAME = ">VERSION";
/**
* Defines the current AuthMeReloaded version code.
*/
// TODO: Increase this number by one when an update is release
private static final int PLUGIN_VERSION_CODE = 100;
private static final int PLUGIN_VERSION_CODE = Integer.parseInt(">BUILDNUMBER");
private static AuthMe plugin;
private static Server server;