提交 183fcbbd authored 作者: Thomas Mueller's avatar Thomas Mueller

Changes to prepare for version 1.4.x beta

上级 89dfa0e0
...@@ -34,6 +34,11 @@ public class Constants { ...@@ -34,6 +34,11 @@ public class Constants {
*/ */
public static final int BUILD_ID_STABLE = 174; public static final int BUILD_ID_STABLE = 174;
/**
* Whether this is a snapshot version.
*/
public static final boolean BUILD_SNAPSHOT = false;
/** /**
* If H2 is compiled to be included in a product, this should be set to * If H2 is compiled to be included in a product, this should be set to
* a unique vendor id (to distinguish from official releases). * a unique vendor id (to distinguish from official releases).
...@@ -501,6 +506,9 @@ public class Constants { ...@@ -501,6 +506,9 @@ public class Constants {
if (BUILD_VENDOR_AND_VERSION != null) { if (BUILD_VENDOR_AND_VERSION != null) {
version += "_" + BUILD_VENDOR_AND_VERSION; version += "_" + BUILD_VENDOR_AND_VERSION;
} }
if (BUILD_SNAPSHOT) {
version += "-SNAPSHOT";
}
return version; return version;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论