Skip to content

Commit 3725cda

Browse files
authored
Add build code for apk (#2822)
1 parent 1c95460 commit 3725cda

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
PLANET_VERSION=$(cat package.json | jq -r .version)
2-
LATEST_APK_VERSION="v0.2.27"
2+
LATEST_APK_VERSION="v0.2.29"
3+
LATEST_APK_VER_CODE="229"
34
MIN_APK_VERSION="v0.2.27"
4-
APK_PATH="https://github.com/open-learning-exchange/myplanet/releases/download/v0.2.27/myPlanet.apk"
5+
MIN_APK_VER_CODE="227"
6+
APK_PATH="https://github.com/open-learning-exchange/myplanet/releases/download/v0.2.29/myPlanet.apk"
57

6-
echo '{"appname":"planet","minapk":"'$MIN_APK_VERSION'","latestapk":"'$LATEST_APK_VERSION'","planetVersion":"'$PLANET_VERSION'","apkpath":"'$APK_PATH'"}' > dist/versions
8+
echo '{"appname":"planet","planetVersion":"'$PLANET_VERSION'","latestapk":"'$LATEST_APK_VERSION'","latestapkcode":'$LATEST_APK_VER_CODE',"minapk":"'$MIN_APK_VERSION'","minapkcode":'$MIN_APK_VER_CODE',"apkpath":"'$APK_PATH'"}' > dist/versions

0 commit comments

Comments
 (0)