浏览代码

Fix Gradle so it uses the SDK Versioning Scheme (without leading "v" in the Tags)

MeFisto94 9 年之前
父节点
当前提交
095b9d4ae8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      version.gradle

+ 2 - 1
version.gradle

@@ -61,11 +61,12 @@ def getReleaseInfo(String tag) {
         // not a tagged commit
         // not a tagged commit
         return null;
         return null;
     }
     }
-    if (!tag.startsWith("v")) {
+    /*if (!tag.startsWith("v")) {
         // syntax error
         // syntax error
         return null;
         return null;
     }
     }
     tag = tag.substring(1)
     tag = tag.substring(1)
+    The SDK has it’s own versioning scheme which doesn’t start with v…*/
 
 
     String[] parts = tag.split("-", 2);
     String[] parts = tag.split("-", 2);
     String mainVersion;
     String mainVersion;