Skip to content

Check if the git tag matches package.json version

Notifications You must be signed in to change notification settings

ghas-results/git-tag-match

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-tag-match

Check if the git tag matches package.json version

Install

$ yarn add git-tag-match --dev

Usage

CLI

git-tag-match

Optional parameter fileName, example:

git-tag-match manifest.json

Node

const gitTagMatch = require('git-match-tag')

const fileName = 'package.json'

const result = await gitTagMatch(fileName)
// {
//   referenceVersion: '1.0.0',
//   gitVersion: '1.0.0',
//   match: true
// }

License

MIT © VTEX

About

Check if the git tag matches package.json version

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%