@wisdomgarden/mobile-assets
v0.0.79
Published
host mobile assets
Keywords
Readme
Update assets flow
Update version info
I. Sync version file files
- In Project mobile-assistant, prepare the preliminary work according to readme.md.
- You should clone mobile-assistant into the same directory as the current project.
- use
bash ./scripts/sync_version_files.shto sync latest file
II. upgrade package mobile-assets version
- ues
git diffto check the changed files - then commit all files
git commit -m "update version file" node scripts/upgrade_version.jsincrease current project version number and add new taggit push && git push --tagspush to GitHub, and Github Action publish it to npm @wisdomgarden/mobile-assets
III. refresh cdn
- after about 10 minutes, check jsDeliver package data util latest tag is same as package.json.version then
bash scripts/refresh_cdn.shrefresh json file cdn cache - preview release note. local use live server
./preview-release.htmlor Online from GitHub Pages
if update other file, edit refresh_cdn.sh, then run bash scripts/refresh_cdn.sh refresh it.
Update privacy policy
Privacy-policy / user-agreement files live in app-legal/. Edit them there, then
publish via II. Keep the whole set in
that folder — pages load policy-common.* / marked-4.0.1.min.js and fetch their
*-info.json / *-<lang>.md by relative path.
- Root-level copies are legacy duplicates for already-released apps still using the root URLs; edit them in sync, and delete once those app versions are retired.
- China app-market review snapshots: see
app-legal/store-review/.
