5 if [[ $# -eq
0 ]]; then
11 monotonic
=$
(git log
-1 --pretty
=format
:%ct
)
12 version
=$
(git describe
--tags
--match
="v*" "${flags[@]}" |
sed -e
's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g')
15 s/\${monotonic}/${monotonic}/g;
16 s/\${version}/${version}/g;
17 " AndroidManifest.xml.
in >AndroidManifest.xml