mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(upstream): flag incomplete framework comparisons (#583)
* fix(upstream): flag incomplete framework comparisons * docs(changelog): record fix for #583
This commit is contained in:
1 parent
991bda5dd2
commit
a748d89fe6
3 files changed
+36
-1
No files matched your search
@@ -119,7 +119,7 @@ def main() -> int:
|
||||
for rel_path in FRAMEWORK_FILES:
|
||||
local_path = ROOT / rel_path
|
||||
if not local_path.exists():
|
||||
print(f"Local file missing: {rel_path}")
|
||||
errors.append(f"Local file missing: {rel_path}")
|
||||
continue
|
||||
|
||||
# Get local version
|
||||
@@ -145,6 +145,7 @@ def main() -> int:
|
||||
errors.append(f"Local file {rel_path} is missing 'framework_version' in frontmatter.")
|
||||
continue
|
||||
if not upstream_ver:
|
||||
errors.append(f"Upstream file {rel_path} is missing 'framework_version' in frontmatter.")
|
||||
continue
|
||||
|
||||
if parse_semver(upstream_ver) > parse_semver(local_ver):
|
||||
|
||||
Reference in new issue
Block a user