git-tag-match

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i git-tag-match

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.08 kB

Total Files

6

Last publish

Collaborators

  • breno