ci: publish binaries to Releases assets (cluster A canonical-pattern fix) #17
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_browser!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_release_assets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Single-squash for the cluster A canonical-pattern fix. See #16 for full pilot context.
Restores parity with hero_proc's
build-linux.yamlcanonical pattern:.forgejo/workflows/build-linux.yaml: adds explicit Create Release + Upload Release Assets steps; replaces brokenpublish_binarieshelper call with inline pkg-registry upload (correct/api/packages/endpoint, tag-derived version).scripts/build_lib.sh::setup_linux_toolchain: pre-installsx86_64-unknown-linux-musltarget; apt installsjq.Pilot validated end-to-end with
v0.1.4-rc5— 6 Release assets (3 binaries × amd64/arm64), public no-auth download confirmed, pkg-registry mirror published.Tracker: hero_demo#54
Signed-off-by: mik-tf
The shared build_lib.sh::publish_binaries helper had multiple drifts from the canonical hero_proc pattern (BIN_DIR not exported, and the URL constructs /api/crates/ instead of /api/packages/, which 404s on Forgejo's generic package registry). Replaced the broken helper call with an inline upload step copied from hero_proc/.forgejo/workflows/build-linux.yaml ("Upload to Package Registry" step, lines 108-135). Uses the correct /api/packages/<owner>/ generic/<project>/<version>/<artifact> URL pattern, strips the leading "v" from tag refs, falls back to "dev" for workflow_dispatch. Releases-asset path (canonical) was already green at v0.1.4-rc4. This fix unblocks only the secondary pkg-registry mirror, completing the parity with hero_proc's "publish to both" pattern. Tracker: lhumina_code/hero_demo#54 #16 Signed-off-by: mik-tf