mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
1.9.5.1
This commit is contained in:
parent
b8146aa3ec
commit
cf33d3c13b
4 changed files with 11 additions and 4 deletions
|
@ -47,6 +47,7 @@ updateVersion() {
|
|||
major=`echo $version | cut -d . -f 1`
|
||||
minor=`echo $version | cut -d . -f 2`
|
||||
micro=`echo $version | cut -d . -f 3`
|
||||
local=`echo $version | cut -d . -f 4`
|
||||
if [ "$branch" == "nook" ]; then
|
||||
version=$version-nst
|
||||
elif [ "$branch" == "kindle" ]; then
|
||||
|
@ -57,7 +58,10 @@ updateVersion() {
|
|||
if [ "$micro" == "" ]; then
|
||||
micro=0
|
||||
fi
|
||||
intversion=$((100000*$major+1000*$minor+10*$micro+$variant))
|
||||
if [ "$local" == "" ]; then
|
||||
local=0
|
||||
fi
|
||||
intversion=$((1000000*$major+10000*$minor+100*$micro+10*$variant+$local))
|
||||
sed "s/@INTVERSION@/$intversion/" AndroidManifest.xml.pattern | sed "s/@VERSION@/$version/" > AndroidManifest.xml
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue