Previews displayed twice

This commit is contained in:
tom79 2019-12-14 16:31:26 +01:00
parent b2d9dd96fe
commit 784b6f80ce
2 changed files with 10 additions and 3 deletions

View File

@ -14,6 +14,14 @@ stages:
stage: build-and-test stage: build-and-test
retry: 2 retry: 2
copyReleaseNotes:
<<: *no-upload
script:
- ./gradlew copyAllReleaseNotes
except:
- tags
assembleDebug: assembleDebug:
<<: *no-upload <<: *no-upload
cache: cache:

View File

@ -61,14 +61,13 @@ task copyAllReleaseNotes(type: Copy) {
from "$buildDir/../src/main/assets/changelogs/" from "$buildDir/../src/main/assets/changelogs/"
include "*.txt" include "*.txt"
into "$buildDir/../../fastlane/metadata/android/en-US/changelogs/" into "$buildDir/../../fastlane/metadata/android/en-US/changelogs/"
}
task gitPushReleaseNotes(type: Exec, dependsOn: 'copyAllReleaseNotes') {
['sh', '-c', "git add $buildDir/../../fastlane/metadata/android/en-US/changelogs/*"].execute().text.trim() ['sh', '-c', "git add $buildDir/../../fastlane/metadata/android/en-US/changelogs/*"].execute().text.trim()
['sh', '-c', "git commit -m 'copy release notes'"].execute().text.trim() ['sh', '-c', "git commit -m 'copy release notes'"].execute().text.trim()
['sh', '-c', "git push"].execute().text.trim() ['sh', '-c', "git push"].execute().text.trim()
} }
ext.supportLibraryVersion = '29.0.2' ext.supportLibraryVersion = '29.0.2'
ext.glideLibraryVersion = '4.9.0' ext.glideLibraryVersion = '4.9.0'
ext.conscryptLibraryVersion = '2.2.1' ext.conscryptLibraryVersion = '2.2.1'