@wisdomgarden/mobile-assets

0.0.54 • Public • Published

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 sync_version_files.sh to sync latest file

II. upgrade package mobile-assets version

  1. ues git diff to check the changed files
  2. then commit all files 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

III. refresh cdn

  1. 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
  2. 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 II. upgrade package mobile-assets version to continue

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @wisdomgarden/mobile-assets

    Weekly Downloads

    64

    Version

    0.0.54

    License

    WisdomGarden

    Unpacked Size

    163 kB

    Total Files

    34

    Last publish

    Collaborators

    • zihning
    • wg-kevinlin
    • chenzhiyuan01
    • yaoxiangyi
    • dengzhirong93
    • peixin
    • chenyunjie1