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.
This commit is contained in:
Julian Strobl 2016-02-17 12:06:41 +01:00
parent bc429fd250
commit 960a2ebe9b

View file

@ -56,7 +56,7 @@ Build:2.0.3,24
commit=8605e55d229f7d29fb93d3d865c02702c1a41966 commit=8605e55d229f7d29fb93d3d865c02702c1a41966
subdir=app subdir=app
gradle=foss 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: Maintainer Notes:
* Versions <= 2.0 do not build from the current repo, but one needs to use the old repo <https://github.com/smeir/Berlin-Vegan-Guide> * Versions <= 2.0 do not build from the current repo, but one needs to use the old repo <https://github.com/smeir/Berlin-Vegan-Guide>