peta

1.0.3 • Public • Published

peta = publish-beta

Publish npm package in beta tag with version number automatically increased.

NPM version Downloads

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 tag
  • onlineBeta - max version in beta tag
  • local - read from package.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

Readme

Keywords

Package Sidebar

Install

npm i peta

Weekly Downloads

7

Version

1.0.3

License

MIT

Last publish

Collaborators

  • int64ago