Check if the git tag matches package.json version
$ yarn add git-tag-match --devgit-tag-matchOptional parameter fileName, example:
git-tag-match manifest.jsonconst gitTagMatch = require('git-match-tag')
const fileName = 'package.json'
const result = await gitTagMatch(fileName)
// {
// referenceVersion: '1.0.0',
// gitVersion: '1.0.0',
// match: true
// }MIT © VTEX