Przeglądaj źródła

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

MeFisto94 9 lat temu
rodzic
commit
095b9d4ae8
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      version.gradle

+ 2 - 1
version.gradle

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