1.0.0 • Published 5 years ago

git-tag-match v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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