mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
target is now hard-coded since I reliably can't derive it from the
manifest file.
This commit is contained in:
parent
7e36171046
commit
7d968f8502
1 changed files with 2 additions and 8 deletions
|
@ -8,12 +8,6 @@ usage () {
|
|||
exit 0
|
||||
}
|
||||
|
||||
getSDK() {
|
||||
LINE=$(grep 'android:minSdkVersion' ./AndroidManifest.xml)
|
||||
SDK=$(echo $LINE | sed 's/^.*targetSdkVersion=\"\([0-9]*\)\".*$/\1/')
|
||||
echo $SDK
|
||||
}
|
||||
|
||||
TAG=""
|
||||
BRANCH=""
|
||||
VARIANT="XWords4"
|
||||
|
@ -67,10 +61,10 @@ git clone $SRCDIR BUILD
|
|||
cd BUILD
|
||||
git checkout ${TAG}${BRANCH}
|
||||
cd ./xwords4/android/${VARIANT}
|
||||
../scripts/setup_local_props.sh --target android-$(getSDK)
|
||||
../scripts/setup_local_props.sh
|
||||
../scripts/arelease.sh --variant ${VARIANT}
|
||||
mkdir -p /tmp/releases_${VARIANT}
|
||||
cp *.apk /tmp/releases_${VARIANT}
|
||||
|
||||
cd $CURDIR
|
||||
rm -rf $BUILDIR
|
||||
# rm -rf $BUILDIR
|
||||
|
|
Loading…
Reference in a new issue