mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +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()))
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ force:
|
||||
major: 1
|
||||
minor: 4
|
||||
existing: true
|
||||
strict: false
|
||||
commit: 960207e4677476ad31a9f389f74eaf9f33d49613
|
||||
wording:
|
||||
patch:
|
||||
|
||||
Reference in New Issue
Block a user