From ccd0e887d82acfcaf113cb586d57c5a627e1a974 Mon Sep 17 00:00:00 2001 From: tom79 Date: Sat, 14 Dec 2019 16:40:04 +0100 Subject: [PATCH] test --- .gitlab-ci.yml | 7 ------- app/build.gradle | 5 +++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9bc22ba09..510801847 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,13 +15,6 @@ stages: retry: 2 -copyReleaseNotes: - <<: *no-upload - script: - - ./gradlew copyAllReleaseNotes - except: - - tags - assembleDebug: <<: *no-upload cache: diff --git a/app/build.gradle b/app/build.gradle index 85c33b250..d11a91c88 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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'