0.3.0 • Published 9 years ago

hyper-release v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

hyper-release

Creates a hyperboot release utilizing npm version.

Using this script you don't have to care about increasing version numbers when using hyperboot release. This script utilizes npm version to keep track of and increase the version number in your package.json.

Install

npm install hyper-release hyperboot

Usage

hyper-release HTMLFILE { -m MESSAGE, -v [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease] }

By default -m is empty and -v is set to prerelease. For all versions except prerelease a version commit and tag will be created if there is a local Git repository.

In your package.json you could do:

...
"scripts": {
  "hyper-release": "hyper-release concat/bundle.js"
  ...
}
...

Don't miss substacks article on build automatization using NPM if you're new to this.

Todo

  • Do not just disregard NPMs stderr
  • Use hyperboots -n name flag