소스 검색

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
         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;