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('-')
|
||||
|
||||
@@ -9,7 +9,7 @@ unzip /config/ultrahand/downloads/aio-switch-updater.zip /
|
||||
delete /config/ultrahand/downloads/aio-switch-updater.zip
|
||||
delete /config/ultrahand/downloads/aio-switch-updater-api.json
|
||||
|
||||
[Akira - canary-2026-04-12-160947]
|
||||
[Akira - canary]
|
||||
try:
|
||||
; version tracking: https://api.github.com/repos/xlanor/akira/releases?per_page=1
|
||||
download https://github.com/xlanor/akira/releases/latest/download/akira.nro /config/ultrahand/downloads/akira.nro
|
||||
|
||||
Reference in New Issue
Block a user