Short Akira canary label for Ultrahand UI; collapse long canary tags in release script
All checks were successful
Build and Release / build-and-release (push) Successful in 26s
All checks were successful
Build and Release / build-and-release (push) Successful in 26s
Made-with: Cursor
This commit is contained in:
@@ -148,6 +148,9 @@ def update_ini_section_versions(ini_path: Path, versions: Dict[str, str]) -> Non
|
||||
def _clean_tag(tag: str) -> str:
|
||||
"""Normalize version string for display (strip v, truncate if needed)."""
|
||||
clean = tag.lstrip('v')
|
||||
# Long canary nightly tags (e.g. canary-2026-04-12-160947) — short label for Ultrahand list UI
|
||||
if re.match(r"^canary-\d{4}-\d{2}-\d{2}", clean, re.IGNORECASE):
|
||||
return "canary"
|
||||
if len(clean) > 30:
|
||||
if '-' in clean:
|
||||
parts = clean.split('-')
|
||||
|
||||
Reference in New Issue
Block a user