git-changelog-command-line
Advanced tools
Comparing version 1.108.3 to 1.109.0
{ | ||
"version": "1.108.3", | ||
"version": "1.109.0", | ||
"name": "git-changelog-command-line", | ||
@@ -4,0 +4,0 @@ "homepage": "https://github.com/tomasbjerre/git-changelog-command-line", |
@@ -105,13 +105,19 @@ # Git Changelog Command Line | ||
```shell | ||
highestTag=$(npx git-changelog-command-line \ | ||
highestVersion=$(npx git-changelog-command-line \ | ||
--print-highest-version) | ||
highestVersionTag=$(npx git-changelog-command-line \ | ||
--print-highest-version-tag) | ||
nextVersion=$(npx git-changelog-command-line \ | ||
currentVersion=$(npx git-changelog-command-line \ | ||
--patch-version-pattern "^fix.*" \ | ||
--print-next-version) | ||
--print-current-version) | ||
if [ "$nextVersion" == "$highestTag" ]; then | ||
if [ -z "$highestVersionTag" ]; then | ||
echo "This is the first version in the repo, using 0.0.1 as version" | ||
currentVersion=0.0.1 | ||
else if [ "$currentVersion" == "$highestVersion" ]; then | ||
echo "No changes made that can be released" | ||
else | ||
echo "Changes detected and a new $nextVersion release can be made" | ||
echo "Changes detected and a new $currentVersion release can be made" | ||
fi | ||
@@ -306,6 +312,6 @@ ``` | ||
Default: disabled | ||
-glpn, --gitlab-project-name <string> GitLab project name. | ||
-glp, --gitlab-issue-pattern <string> GitLab issue pattern. | ||
<string>: any string | ||
Default: | ||
-glp, --gitlab-issue-pattern <string> GitLab issue pattern. | ||
-glpn, --gitlab-project-name <string> GitLab project name. | ||
<string>: any string | ||
@@ -419,2 +425,6 @@ Default: | ||
Default: disabled | ||
-pf, --path-filters <string> Paths on the | ||
filesystem to filter on. [Supports Multiple occurrences] | ||
<string>: any string | ||
Default: Empty list | ||
-phv, --print-highest-version Print the highest | ||
@@ -421,0 +431,0 @@ version, determined by tags in |
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
7860334
568