Add missing interpretation of strict parameter from config file.

This commit is contained in:
2022-02-10 16:22:13 +00:00
parent 559ed4ff59
commit 5878e650f7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ func (s *Setup) CalculateSemver() SemVer {
}
}
if !params.varStrict {
if !params.varStrict && !s.Force.Strict {
s.Semver.Patch++
debugPrint(fmt.Sprintln("Incrementing patch (DEFAULT) on ", strings.TrimSuffix(commit.Message, "\n"), "| Semver:", s.getSemver()))
}
+1
View File
@@ -3,6 +3,7 @@ force:
major: 1
minor: 4
existing: true
strict: false
commit: 960207e4677476ad31a9f389f74eaf9f33d49613
wording:
patch: