Skip to content

lmw6412036/auto-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#auto-version

自动更新版本号最后一位

##使用说明

返回一个generator函数,请采用合适的执行器去运行,本例采用hprose.co;

######1 npm install -save-dev auto-version ######2

>`let autoVersion = require("auto-version");//返回一个generator函数`
>`let path = require("path");`
>`let co = require('hprose').co;`
>`let file = path.join(__dirname, "./package.json");`
>`co(autoVersion(file));`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published