peta
v1.0.3
Published
Publish npm package in beta tag with version number automatically increased.
Readme
peta = publish-beta
Publish npm package in beta tag with version number automatically increased.
Usage
npm i peta -g- In the root directory of project, run
peta
How
The published version is based on three versions:
onlineLatest- max version in latest tagonlineBeta- max version in beta taglocal- read frompackage.json
Then, we get version from max(onlineBeta || onlineLatest, local)
At last, we publish semver.inc(version, 'prerelease', 'beta') with beta tag
For API infomation of semver: semver
LICENSE
MIT
