1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

no more beta version

This commit is contained in:
Nikolay Pultsin 2014-08-08 05:19:48 +01:00
parent 1e14727908
commit 715720931a
2 changed files with 8 additions and 16 deletions

View file

@ -26,21 +26,14 @@ updateVersion() {
;;
esac
if [ "$branch" == "beta-ics" -o "$branch" == "beta" -o "$branch" == "betayota" -o "$branch" == "yotabeta" ]; then
version=`cat VERSION-BETA`
major=1
minor=9
micro=`echo $version | cut -d " " -f 3`
else
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
version=$version-kindlehd
fi
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
version=$version-kindlehd
fi
if [ "$micro" == "" ]; then