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. AndroidManifest.xml.
antcommand=xxx - Specify an alternate ant command (target) instead of the antcommand=xxx - Specify an alternate ant command (target) instead of the
default 'release'. default 'release'.
insertversion=x - If specified, the pattern 'x' in the AndroidManifest.xml is forceversion=yes - If specified, the package version in AndroidManifest.xml is
replaced with the version number for the build. replaced with the version number for the build as specified
insertvercode=x - If specified, the pattern 'x' in the AndroidManifest.xml is in recipe. Useful for cases when upstream repo missed to
replaced with the version code for the build. 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=no By default, 'android update project' is used to generate or
update the build.xml file. Specifying update=no bypasses update the build.xml file. Specifying update=no bypasses
that. that.

View file

@ -364,13 +364,15 @@ the directory that contains AndroidManifest.xml.
Specify an alternate ant command (target) instead of the default Specify an alternate ant command (target) instead of the default
'release'. 'release'.
@item insertversion=x @item forceversion=yes
If specified, the pattern 'x' in the AndroidManifest.xml is replaced If specified, the package version in AndroidManifest.xml is replaced
with the version number for the build. 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 @item forcevercode=yes
If specified, the pattern 'x' in the AndroidManifest.xml is replaced If specified, the package vercode in the AndroidManifest.xml is replaced
with the version code for the build. with the version code for the build. See also forceversion.
@item update=no @item update=no
By default, 'android update project' is used to generate or update the By default, 'android update project' is used to generate or update the