Add version 2.0.3 of Berlin Vegan Guide
First of all we use the correct version name, version code, and commit id. We do not need the sed-command anymore: I patched the fdroidserver (see commit dd0b38a), that if the version name is not found for some reason, it just uses the git tag. That is exactly, what we want. Removing the sed-command has one other advantage: the git repository has no changes anymore or in other words it is not 'dirty' anymore. So there is no '-dirty' string attached to the version string during our gradle build process. Also add Archive Policy. Only the newest version is going to build, the other builds are referring to the old github repository and fail.
This commit is contained in:
parent
f6299d9531
commit
5ad6245e72
|
@ -52,20 +52,21 @@ Build:1.9,21
|
||||||
cd ../../ && \
|
cd ../../ && \
|
||||||
ant prod.android
|
ant prod.android
|
||||||
|
|
||||||
Build:2.0.3-fdroid,24
|
Build:2.0.3,24
|
||||||
disable=remove apk to get in sync with upstream VC
|
commit=8605e55d229f7d29fb93d3d865c02702c1a41966
|
||||||
commit=2.0.3
|
|
||||||
subdir=app
|
subdir=app
|
||||||
gradle=foss
|
gradle=foss
|
||||||
prebuild=sed -i -e 's/versionName gitTag ?: gitBranch/versionName \"$$VERSION$$\"/g' -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>
|
||||||
* AUM wont work, since we rely on the versionname, which yet cannot be parsed from gradle:
|
* Auto Update Mode is working, but only with a hack: with commit dd0b38a in fdroidserver the tag is used as versionname, if the versionname could not be parse from the manifest or gradle files.
|
||||||
Auto Update Mode:Version +-fdroid %v
|
* Archive Policy: 'Currently the only supported format is "n versions", where n is the number of versions to keep.'
|
||||||
|
* Auto Update Mode: '... if an app always has a tag "2.7.2" corresponding to version 2.7.2, you would simply specify "Version %v"'
|
||||||
|
* Update Check Mode: '... when apps tag non-release versions such as X.X-alpha, so you can filter them out with something like .*[0-9]$ which requires tag names to end with a digit.'
|
||||||
.
|
.
|
||||||
|
|
||||||
Auto Update Mode:None
|
Archive Policy:1 versions
|
||||||
Update Check Mode:Tags
|
Auto Update Mode:Version %v
|
||||||
Current Version:Unknown
|
Update Check Mode:Tags .*[0-9]$
|
||||||
|
Current Version:2.0.3
|
||||||
Current Version Code:24
|
Current Version Code:24
|
||||||
|
|
Loading…
Reference in a new issue