File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99from pathlib import Path
1010from typing import List , Optional , Tuple
1111from git import Repo , Commit as GitCommit
12- from .models import Commit , SemanticVersion
12+ from .models import Commit , SemanticVersion , VersionType
1313from .template_utils import render_template , TemplateError
1414from .config import ReleaseVersionPolicy
1515
@@ -509,7 +509,7 @@ def find_comparison_version_for_docs(
509509
510510 # For 'final-only' mode:
511511 # Both RCs and final versions compare against previous final version
512- if target_type == target_version . get_type () .RELEASE_CANDIDATE or target_version .is_final ():
512+ if target_type == VersionType .RELEASE_CANDIDATE or target_version .is_final ():
513513 # Find the previous final version
514514 final_versions = [v for v in earlier_versions if v .is_final ()]
515515 if final_versions :
You can’t perform that action at this time.
0 commit comments