Skip to content

A small cli to parse semver tags and extract major, minor, etc.

Notifications You must be signed in to change notification settings

koumoul-dev/semver-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

semver-extract

A small cli to parse semver tags and extract major, minor, etc.

This is very useful to create alternative tags of a docker image for example.

npm i -g semver-extract
$ semver-extract --major 3.1.0
3
$ semver-extract --minor 3.1.0
3.1
$ semver-extract -x --minor 3.1.0
3.1.x
$ semver-extract v3.1.0
3.1.0

About

A small cli to parse semver tags and extract major, minor, etc.

Resources

Stars

Watchers

Forks

Packages

No packages published