mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Prepare new release
This commit is contained in:
parent
19887b196c
commit
ea46afbe62
41 changed files with 47 additions and 47 deletions
|
|
@ -11,9 +11,9 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
|||
|
||||
public static final int MAGE_VERSION_MAJOR = 1;
|
||||
public static final int MAGE_VERSION_MINOR = 4;
|
||||
public static final int MAGE_VERSION_PATCH = 45;
|
||||
public static final int MAGE_VERSION_PATCH = 46;
|
||||
public static final String MAGE_EDITION_INFO = ""; // set "-beta2" for 1.4.32V1-beta2
|
||||
public static final String MAGE_VERSION_MINOR_PATCH = "V1"; // default
|
||||
public static final String MAGE_VERSION_MINOR_PATCH = "V0"; // default
|
||||
// strict mode
|
||||
private static final boolean MAGE_VERSION_MINOR_PATCH_MUST_BE_SAME = true; // set true on uncompatible github changes, set false after new major release (after MAGE_VERSION_PATCH changes)
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
|||
private final int patch;
|
||||
private final String minorPatch; // doesn't matter for compatibility
|
||||
private final String buildTime;
|
||||
private String editionInfo;
|
||||
private final String editionInfo;
|
||||
|
||||
public MageVersion(Class sourceClass) {
|
||||
this(MAGE_VERSION_MAJOR, MAGE_VERSION_MINOR, MAGE_VERSION_PATCH, MAGE_VERSION_MINOR_PATCH, MAGE_EDITION_INFO, sourceClass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue