From 960a2ebe9b602deae1d41c529ef84b926bd5c4ec Mon Sep 17 00:00:00 2001 From: Julian Strobl Date: Wed, 17 Feb 2016 12:06:41 +0100 Subject: [PATCH] Berlin-Vegan: Fix in-app verison string Commit 37fbf83 fixed the build, but did break the in-app version string: We still need the sed-command for removing the playstoreCompile part, since fdroid checks all dependencies regardless of the build flavor. This makes the git repository 'dirty', so we have to remove that part from the build.gradle as well. In future version the 'dirty' part should be removed or handled differently. --- metadata/org.berlin_vegan.bvapp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/org.berlin_vegan.bvapp.txt b/metadata/org.berlin_vegan.bvapp.txt index 58376e9289..112720d7e9 100644 --- a/metadata/org.berlin_vegan.bvapp.txt +++ b/metadata/org.berlin_vegan.bvapp.txt @@ -56,7 +56,7 @@ Build:2.0.3,24 commit=8605e55d229f7d29fb93d3d865c02702c1a41966 subdir=app gradle=foss - prebuild=sed -i -e '/playstoreCompile/d' build.gradle + prebuild=sed -i -e 's/def gitDescription = dirtyWorkingCopy .*/def gitDescription = gitHash/g' -e '/playstoreCompile/d' build.gradle Maintainer Notes: * Versions <= 2.0 do not build from the current repo, but one needs to use the old repo