|
|
|
@ -70,6 +70,7 @@ public class VersionCheckUtils {
|
|
|
|
|
private static final String GROUP = "group"; |
|
|
|
|
private static final String BI = "bi"; |
|
|
|
|
private static final String BIPREFIX = "com.finebi"; |
|
|
|
|
private static final String DEVELOP_BRANCH_MARK = "#"; |
|
|
|
|
private static final Set<String> pluginsNeedIgnore = new HashSet<>(); |
|
|
|
|
static { |
|
|
|
|
pluginsNeedIgnore.addAll(Arrays.asList( |
|
|
|
@ -158,8 +159,8 @@ public class VersionCheckUtils {
|
|
|
|
|
String localBranch; |
|
|
|
|
String remoteBranch = getRemoteBranch(selectedEnv); |
|
|
|
|
localBranch = GeneralUtils.readFullBuildNO(); |
|
|
|
|
//通过是否包含#来避免当前版本为非安装版本(主要是内部开发版本)
|
|
|
|
|
if (localBranch.contains("#") && ComparatorUtils.equals(localBranch, remoteBranch)) { |
|
|
|
|
// 通过是否包含"#"来避免当前版本为非安装版本(主要是内部开发版本)
|
|
|
|
|
if (localBranch.contains(DEVELOP_BRANCH_MARK) && ComparatorUtils.equals(localBranch, remoteBranch)) { |
|
|
|
|
//说明版本一致,仅做日志记录
|
|
|
|
|
FineLoggerFactory.getLogger().info("Remote Designer version consistency"); |
|
|
|
|
return true; |
|
|
|
|