Skip to content

yashen/osspublish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"}}

About

publish software on aliyun oss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published