This commit is contained in:
tom79 2019-12-14 16:40:04 +01:00
rodič d3743c6965
revize ccd0e887d8
2 změnil soubory, kde provedl 3 přidání a 9 odebrání

Zobrazit soubor

@ -15,13 +15,6 @@ stages:
retry: 2
copyReleaseNotes:
<<: *no-upload
script:
- ./gradlew copyAllReleaseNotes
except:
- tags
assembleDebug:
<<: *no-upload
cache:

Zobrazit soubor

@ -61,13 +61,14 @@ task copyAllReleaseNotes(type: Copy) {
from "$buildDir/../src/main/assets/changelogs/"
include "*.txt"
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 commit -m 'copy release notes'"].execute().text.trim()
['sh', '-c', "git push"].execute().text.trim()
}
ext.supportLibraryVersion = '29.0.2'
ext.glideLibraryVersion = '4.9.0'
ext.conscryptLibraryVersion = '2.2.1'