Skip to content

A little script written in node js to get the next release version based on the semantic versioning rules

License

Notifications You must be signed in to change notification settings

DvirH/semantic-version-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

semantic-version-calculator

A little script written in node js to get the next release version based on the semantic versioning rules

In order to install the package run on your cli

npm install semantic-version-calculator --dev-save

Create a js file with the following code

const sm = require('semantic-version-calculator')
sm().then(v => {
    console.log(`the next release version is: ${v} 🚀`)
})

Facing issues?

  1. Verify that your git is accessible through the directory the code is running
  2. Verify that you have commits of the following structure:
    fix: fixed bug
    feat: added new option
    fix!: this is a breaking change
    feat!: this is a breaking change

About

A little script written in node js to get the next release version based on the semantic versioning rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published