versionize
v1.0.6
Published
Custom package version by branch name and commit hash
Readme
versionize
Small package that generate package version and run npm version based on current version, HEAD branch and commit hash.
For example:
1.0.2-branch-name-6178a07d
It's usefull for publishing pre-version of package for test in production environments.
Install
yarn add versionize --devor
npm i versionize --save-devUsage
Add script into your npm scripts:
{
"name": "your-project",
"scripts": {
"versionize": "versionize"
}
}Run
yarn versionizeor
npm run versionizeLicense
MIT © kupibilet.ru
