git-tag-match
v1.0.0
Published
Check if the git tag matches package.json version
Readme
git-tag-match
Check if the git tag matches package.json version
Install
$ yarn add git-tag-match --devUsage
CLI
git-tag-matchOptional parameter fileName, example:
git-tag-match manifest.jsonNode
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
