Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-changelog-command-line

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-changelog-command-line - npm Package Compare versions

Comparing version 1.99.4 to 1.99.5

build/libs/git-changelog-command-line-1.99.5-javadoc.jar

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc