diff --git a/src/repo-version/LabelCalculator.cs b/src/repo-version/LabelCalculator.cs index 86f1569..f101107 100644 --- a/src/repo-version/LabelCalculator.cs +++ b/src/repo-version/LabelCalculator.cs @@ -32,7 +32,8 @@ public void CalculateLabel(Repository repo, Configuration config, out string lab } } } - else + + if (string.IsNullOrEmpty(label)) { if (config?.Branches != null) {