From 318bec906399c83cfa12ae40c4d9ca4253d2287d Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Wed, 28 Aug 2019 08:01:20 +0000 Subject: [PATCH] Openstud - remove unbuild, update build --- metadata/com.lithium.leona.openstud.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/metadata/com.lithium.leona.openstud.yml b/metadata/com.lithium.leona.openstud.yml index 90fbd57ac1..e52cd15997 100644 --- a/metadata/com.lithium.leona.openstud.yml +++ b/metadata/com.lithium.leona.openstud.yml @@ -6,31 +6,26 @@ License: GPL-3.0-only SourceCode: https://github.com/LithiumSR/openstud_client IssueTracker: https://github.com/LithiumSR/openstud_client/issues -AutoName: OpenStud - RepoType: git Repo: https://github.com/LithiumSR/openstud_client.git Builds: - - versionName: 1.25.4 - versionCode: 160 - commit: 1.25.4 - subdir: app - gradle: - - foss - prebuild: - - sed -i -e '/getTaskNames/,+5d' -e '/getTaskNames/,+5d' build.gradle - - sed -i -e '/getTaskNames/,+6d' ../build.gradle - - versionName: 1.25.5 versionCode: 161 commit: 1.25.5 subdir: app + sudo: + - apt-get update || apt-get update + - apt-get install -y gawk gradle: - foss prebuild: - - sed -i -e '/getTaskNames/,+5d' -e '/getTaskNames/,+5d' build.gradle - - sed -i -e '/getTaskNames/,+6d' ../build.gradle + - gawk 'd==0{m=0} /isGooglePlayFlavor()/{m=1} m==1&&/{/{d++} d==0{print} m==1&&/}/{d--}' + build.gradle > build.tmp + - mv build.tmp build.gradle + - gawk 'd==0{m=0} /isGooglePlayFlavor()/{m=1} m==1&&/{/{d++} d==0{print} m==1&&/}/{d--}' + ../build.gradle > ../build.tmp + - mv ../build.tmp ../build.gradle AutoUpdateMode: Version %v UpdateCheckMode: Tags