git-conventional-commits
Advanced tools
Comparing version 2.6.5 to 2.6.6
@@ -129,3 +129,3 @@ const Git = require("./git"); | ||
matchPattern: convention.releaseTagGlobPattern, | ||
excludePattern: '*-*', // exclude pre-release versions | ||
excludePattern: `${convention.releaseTagGlobPattern}-*`, // exclude pre-release versions | ||
}) | ||
@@ -132,0 +132,0 @@ } |
{ | ||
"name": "git-conventional-commits", | ||
"version": "2.6.5", | ||
"version": "2.6.6", | ||
"description": "git conventional commits util", | ||
@@ -5,0 +5,0 @@ "licence": "GPLv3", |
@@ -120,3 +120,3 @@ # Git Conventional Commits [![Sparkline](https://stars.medv.io/qoomon/git-conventional-commits.svg)](https://stars.medv.io/qoomon/git-conventional-commits) | ||
- repo: https://github.com/qoomon/git-conventional-commits | ||
rev: <revision e.g. v2.1.0> | ||
rev: <revision e.g. v2.6.5> | ||
hooks: | ||
@@ -159,2 +159,9 @@ - id: conventional-commits | ||
### Integration with existing repository | ||
If you have an large existing repo with no release tags e.g. v1.0.0, or if you want the first changelog to be tidy, you need to create a release tag first. | ||
* Create release tag for specific commit`git tag -a -m'build(release): 0.0.0' 'v0.0.0'` | ||
* Push tag `git push origin v0.0.0` | ||
This way `git-conventional-commits` will use that the taged commit as the point in time to start looking for commits. | ||
--- | ||
@@ -161,0 +168,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75502
173