mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-01 03:25:19 +00:00
Add missing interpretation of strict parameter from config file.
This commit is contained in:
+1
-1
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user