@@ -110,7 +110,7 @@ android {
110110 minifyEnabled true
111111 shrinkResources true
112112 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro' , ' proguard-log.pro'
113- versionNameSuffix " _" + DateTimeFormatter . ofPattern(" yyyyMMdd" ). format(LocalDateTime . now()) + " _r " + gitCode
113+ versionNameSuffix " _" + DateTimeFormatter . ofPattern(" yyyyMMdd" ). format(LocalDateTime . now())
114114 buildConfigField " String" , " GIT_HASH" , " \" ${ gitHash} \" "
115115 if (keyStoreFile != null ) {
116116 signingConfig signingConfigs. hyperceiler
@@ -120,7 +120,7 @@ android {
120120 minifyEnabled true
121121 shrinkResources true
122122 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
123- versionNameSuffix " _" + DateTimeFormatter . ofPattern(" yyyyMMdd" ). format(LocalDateTime . now()) + " _b " + gitCode
123+ versionNameSuffix " _" + DateTimeFormatter . ofPattern(" yyyyMMdd" ). format(LocalDateTime . now())
124124 buildConfigField " String" , " GIT_HASH" , " \" ${ gitHashLong} \" "
125125 if (keyStoreFile != null ) {
126126 signingConfig signingConfigs. hyperceiler
@@ -130,14 +130,14 @@ android {
130130 minifyEnabled true
131131 shrinkResources true
132132 proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
133- versionNameSuffix " _" + DateTimeFormatter . ofPattern( " yyyyMMdd " ) . format( LocalDateTime . now()) + " _c " + gitCode
133+ versionNameSuffix " _" + gitHash + " _r " + gitCode
134134 buildConfigField " String" , " GIT_HASH" , " \" ${ gitHashLong} \" "
135135 if (keyStoreFile != null ) {
136136 signingConfig signingConfigs. hyperceiler
137137 }
138138 }
139139 debug {
140- versionNameSuffix " _" + DateTimeFormatter . ofPattern( " yyyyMMdd " ) . format( LocalDateTime . now()) + " _d " + gitCode
140+ versionNameSuffix " _" + gitHash + " _r " + gitCode
141141 buildConfigField " String" , " GIT_HASH" , " \" ${ gitHashLong} \" "
142142 if (keyStoreFile != null ) {
143143 signingConfig signingConfigs. hyperceiler
0 commit comments