git-changelog-command-line
Advanced tools
Comparing version 1.99.4 to 1.99.5
{ | ||
"version": "1.99.4", | ||
"version": "1.99.5", | ||
"name": "git-changelog-command-line", | ||
@@ -4,0 +4,0 @@ "homepage": "https://github.com/tomasbjerre/git-changelog-command-line", |
@@ -96,2 +96,19 @@ # Git Changelog Command Line | ||
By default it will match anything as patch, like `chore: whatever` and not only `fix: whatever`. You can change that with: | ||
```shell | ||
highestTag=$(npx git-changelog-command-line \ | ||
--print-highest-version-tag) | ||
nextVersion=$(npx git-changelog-command-line \ | ||
--patch-version-pattern "fix:.*" \ | ||
--print-next-version) | ||
if [ "$nextVersion" == "$highestTag" ]; then | ||
echo "No changes made that can be released" | ||
else | ||
echo "Changes detected and a new $nextVersion release can be made" | ||
fi | ||
``` | ||
A changelog can be rendered (using [Helpers](https://github.com/tomasbjerre/git-changelog-lib#Helpers)) like this: | ||
@@ -98,0 +115,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
7475162
453