Fix asset ID extraction in publish script #39

Merged
mik-tf merged 1 commit from development_release_v1.1.0 into development 2026-03-04 15:06:16 +00:00
Owner

Replace grep-based asset ID extraction with python3 JSON parsing. The Forgejo API returns id before name in the JSON, breaking the grep pattern.

Tested locally: correctly finds and removes existing assets before upload.

Closes #38

Replace grep-based asset ID extraction with python3 JSON parsing. The Forgejo API returns id before name in the JSON, breaking the grep pattern. Tested locally: correctly finds and removes existing assets before upload. Closes #38
The grep pattern assumed JSON field order name→id, but the Forgejo API
returns id→name. Replace with python3 JSON parsing which is order-agnostic.

Tested locally: correctly finds and removes existing assets before upload.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mik-tf changed title from WIP: Fix asset ID extraction in publish script to Fix asset ID extraction in publish script 2026-03-04 15:06:11 +00:00
mik-tf merged commit a5d132f0a1 into development 2026-03-04 15:06:16 +00:00
mik-tf deleted branch development_release_v1.1.0 2026-03-04 15:06:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills!39
No description provided.