Update docs for forceversion/forcevercode.

This commit is contained in:
Paul Sokolovsky 2012-02-16 23:04:41 +02:00
parent 10567fc0cc
commit bd6619ee01
2 changed files with 15 additions and 10 deletions

11
README
View file

@ -160,10 +160,13 @@ configuration to the build. These are:
AndroidManifest.xml.
antcommand=xxx - Specify an alternate ant command (target) instead of the
default 'release'.
insertversion=x - If specified, the pattern 'x' in the AndroidManifest.xml is
replaced with the version number for the build.
insertvercode=x - If specified, the pattern 'x' in the AndroidManifest.xml is
replaced with the version code for the build.
forceversion=yes - If specified, the package version in AndroidManifest.xml is
replaced with the version number for the build as specified
in recipe. Useful for cases when upstream repo missed to
update it for specific tag, or to build an arbitrary revision.
forcevercode=yes - If specified, the package vercode in the AndroidManifest.xml is
replaced with the version code for the build. See also
forceversion.
update=no By default, 'android update project' is used to generate or
update the build.xml file. Specifying update=no bypasses
that.

View file

@ -364,13 +364,15 @@ the directory that contains AndroidManifest.xml.
Specify an alternate ant command (target) instead of the default
'release'.
@item insertversion=x
If specified, the pattern 'x' in the AndroidManifest.xml is replaced
with the version number for the build.
@item forceversion=yes
If specified, the package version in AndroidManifest.xml is replaced
with the version number for the build as specified in recipe. Useful
for cases when upstream repo missed to update it for specific tag,
or to build an arbitrary revision.
@item insertvercode=x
If specified, the pattern 'x' in the AndroidManifest.xml is replaced
with the version code for the build.
@item forcevercode=yes
If specified, the package vercode in the AndroidManifest.xml is replaced
with the version code for the build. See also forceversion.
@item update=no
By default, 'android update project' is used to generate or update the