osspublish
publish software use aliyun oss
Usage
//This will create a config file osspublish.json on current folder
osspublish init <softwarename>
//This will create a config file .ossstorage.json
//Save software's storage place and authentication config
osspublish storage <region> <accessKeyId> <accessKeySecret> <bucket> <root>
//Set uploadfiles's version and path
osspublish version <versionName> <localfilepath>
//Upload file
//If accessKeyId and accessKeySecret is right,use
osspublish upload
//else
osspublish uplooad -k accessKeyId -s accessKeySecret
Then,you can access url http://<bucket>.<region>.aliyuncs.com/<root>/<softwarename>/publish.json
{"name":"softwarename","version":"1.0.1","filename":"1.0.1/test.apk","download":"xxx",versions:{"1.0.1":"xxx"}}