Skip to content

Commit

Permalink
Update create_version_json.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Jul 25, 2023
1 parent 2ff1f2d commit a2cc233
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/planet/scripts/create_version_json.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PLANET_VERSION=$(cat package.json | jq -r .version)
LATEST_APK_VERSION="v0.8.89"
LATEST_APK_VER_CODE="889"
MIN_APK_VERSION="v0.8.84"
MIN_APK_VER_CODE="884"
APK_PATH="https://github.com/open-learning-exchange/myplanet/releases/download/v0.8.89/myPlanet.apk"
LATEST_APK_VERSION="v0.9.41"
LATEST_APK_VER_CODE="941"
MIN_APK_VERSION="v0.9.30"
MIN_APK_VER_CODE="930"
APK_PATH="https://github.com/open-learning-exchange/myplanet/releases/download/v0.9.41/myPlanet.apk"
LOCAL_APK_PATH="/fs/myPlanet.apk"

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'","localapkpath":"'$LOCAL_APK_PATH'"}' > /usr/share/nginx/html/versions

0 comments on commit a2cc233

Please sign in to comment.