Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Custom build version by branch name and commit hash

License

Notifications You must be signed in to change notification settings

kupibilet-frontend/versionize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --dev

or

npm i versionize --save-dev

Usage

Add script into your npm scripts:

{
  "name": "your-project",
  "scripts": {
    "versionize": "versionize"
  }
}

Run

yarn versionize

or

npm run versionize

License

MIT © kupibilet.ru

About

Custom build version by branch name and commit hash

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published