mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +02:00
VERSION => 2.2 beta
This commit is contained in:
parent
1eb0fb96fd
commit
237e3b191e
3 changed files with 16 additions and 10 deletions
|
@ -2,8 +2,8 @@
|
|||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.geometerplus.zlibrary.ui.android"
|
||||
android:versionCode="2010710"
|
||||
android:versionName="2.1.7"
|
||||
android:versionCode="2015010"
|
||||
android:versionName="2.2 beta"
|
||||
android:installLocation="auto"
|
||||
>
|
||||
<uses-sdk
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.1.7
|
||||
2.2 beta
|
||||
|
|
|
@ -26,10 +26,12 @@ updateVersion() {
|
|||
;;
|
||||
esac
|
||||
|
||||
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`
|
||||
fixed=`echo $version | sed "s/ beta.*//"`
|
||||
|
||||
major=`echo $fixed | cut -d . -f 1`
|
||||
minor=`echo $fixed | cut -d . -f 2`
|
||||
micro=`echo $fixed | cut -d . -f 3`
|
||||
local=`echo $fixed | cut -d . -f 4`
|
||||
if [ "$branch" == "nook" ]; then
|
||||
version=$version-nst
|
||||
elif [ "$branch" == "kindle" ]; then
|
||||
|
@ -38,6 +40,10 @@ updateVersion() {
|
|||
|
||||
if [ "$micro" == "" ]; then
|
||||
micro=0
|
||||
fi
|
||||
if [ "$version" != "$fixed" ]; then
|
||||
minor=$(($minor - 1))
|
||||
micro=$(($micro + 50))
|
||||
fi
|
||||
if [ "$local" == "" ]; then
|
||||
local=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue