Sfoglia il codice sorgente

Add commit number to version name in debug version

len 9 anni fa
parent
commit
1844b8c5a2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/build.gradle

+ 1 - 0
app/build.gradle

@@ -51,6 +51,7 @@ android {
 
     buildTypes {
         debug {
+            versionNameSuffix ".${getCommitCount()}"
             applicationIdSuffix ".debug"
         }
         release {