1.1.3 • Published 3 years ago

mz-code-push-cli v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

add plugin

npm install -g mz-code-push-cli

配置样例

{
  "prod":{
    "name": "yiren-ylh",
    "ios_identifier": "cn.mezeron.yiren",
    "android_identifier": "cn.mezeron.yiren",
    "update": "now",
    "content_url": "http://121.9.234.3/yiren"
  },
  "test":{
      "name": "yiren-ylh-test",
      "ios_identifier": "cn.mezeron.yiren.test",
      "android_identifier": "cn.mezeron.yiren.test",
      "update": "now",
      "content_url": "http://ylh-test.mezeron.cn/yiren"
  }
}

环境切换

mz-hcp build --dev
mz-hcp build --test
mz-hcp build --prod

npm publish --registry=https://registry.npmjs.org/