0.0.44 • Published 10 days ago

@wisdomgarden/mobile-assets v0.0.44

Weekly downloads
-
License
WisdomGarden
Repository
github
Last release
10 days ago

Update assets flow

Add version records before uploading to the market

  1. HiPaCloud飞书多维表格 Create a new version record and improve the release notes, need edit it manually.

  2. node scripts/add_market_apps_version.js Batch increase market version records

Update version info is used to send update notifications

update version_update_android.json / version_update_ios.json

  1. node scripts/update_app_version_md.js update json file with hipa feishu remote data, or edit it manually
  2. check for errors then git commit git commit -m "update version file"
  3. node scripts/upgrade_version.js increase current project version number and add new tag
  4. git push && git push --tags push to GitHub, and Github Action publish it to npm @wisdomgarden/mobile-assets
  5. after about 10 minutes, check jsDeliver package data util latest tag is same as package.json.version then bash scripts/refresh_cdn.sh refresh json file cdn cache
  6. preview release note. local use live server ./preview-release.html or Online from GitHub Pages

if update other file, edit refresh_cdn.sh, then run bash scripts/refresh_cdn.sh refresh it.

update privacy policy

  1. bash scripts/sync_privacy_files.sh
  2. goto update version info step 3
release note use markdown syntax
{
  "version": "2.0.8",
  "update_type": 1, // 0 force update
  "allow_lowest_version": "2.1.3", // if less than allow_lowest_version force update
  "app_store_url": "https://play.google.com/store/apps/details?id=com.wisdomgarden.trpc",
  "app_store_url_cn": "https://sj.qq.com/myapp/detail.htm?apkName=com.wisdomgarden.trpc", // only for android
  "release_note_en_us": "- IOS security zone adjustment\n- Repair job description is not displayed\n- Optimized job review logic\n- Fixed the problem that the default avatar was not displayed on the answering result page and the scoring page\n- Fix the interactive list, the students clicked and did not respond\n- Optimized the prompt information of interactive teaching materials\n- QR code sign-in failure page optimization\n- UI optimization",
  "release_note_zh_hans": "- IOS安全区域调整\n- 修复作业描述不显示\n- 作业批改逻辑优化\n- 修复抢答结果页和评分页面不显示默认头像\n- 修复互动列表,学生点击抢答无响应\n- 互动教材播放提示信息优化\n- 二维码签到失败页面优化\n- UI优化",
  "release_note_zh_hant": "- IOS安全區域調整\n- 修復作業描述不顯示問題\n- 作業批改邏輯優化\n- 修復搶答結果頁和評分頁面不顯示默認頭像問題\n- 修復互動列表,學生點擊搶答無反應問題\n- 互動教材播放提示文案優化\n- QR Code簽到失敗頁面優化\n- UI優化",
}
Upload zip file to Azure for TW

CMD: node ota/upload-to-azure.js qiniuZipUrl e.g. node ota/upload-to-azure.js https://mobile-download.tronclass.com.cn/mobile-2.0/ota/prod/2.2.9.1656581179.d71a7d06.zip

paremeter qiniuZipUrl: the latest ota zip file url on qiniu

Update tc-orgs-tool Ota Org Information

https://gitlab.tronclass.com.cn/lms/tc-orgs-tool

before

  • Clone git clone git@gitlab.tronclass.com.cn:lms/tc-orgs-tool.git
  • Edit ota/.env.js set project path & LeanCloud API authorization information
  • Make sure OTAVersion prod env information correctly.
  • Run node ota/update-orgs-server-json.js
  • Goto tc-orgs-tool project, run python update_orgs.py
0.0.44

10 days ago

0.0.43

2 months ago

0.0.42

4 months ago

0.0.40

8 months ago

0.0.41

8 months ago

0.0.37

9 months ago

0.0.38

8 months ago

0.0.39

8 months ago

0.0.36

10 months ago

0.0.34

12 months ago

0.0.35

11 months ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.19

2 years ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago