1.0.0 • Published 7 years ago
git-tag-match v1.0.0
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
1.0.0
7 years ago