ci(lab-publish): derive release tag from branch (main->latest, development->latest-dev) #76
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_collab!76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_sameh_ci_release_tag"
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?
What
The publish workflow uploaded every push to the
latestrelease, because no--release-tagwas passed andlabdefaults tolatest. That meantdevelopmentbuilds clobbered the stablelatestrelease, andv*tag pushes also landed inlatestinstead of their own versioned release.This adopts the canonical hero_proc tag logic:
mainlatest(stable)developmentlatest-dev(lab marks any-devtag as prerelease)v*tagv1.2.3)Changes
mainto the push triggers.$TAGfromGITHUB_REF_NAMEvia acaseblock and pass--release-tag "$TAG"tolab build. The flag is supported by the lab installed fromhero_skills@development.Scope note
Kept this repo's local CI specifics (the
RUST_MIN_STACKSIGSEGV guard, Rust 1.95, inline git-auth) instead of a verbatim drop-in of the newer canonical file, which also bumps the toolchain to 1.96 and swaps the git-auth step — separate concerns, not required for the tag behavior.Verification
bash -nsyntax check pass.main->latest,development->latest-dev,v1.2.3->v1.2.3. Feature branches don't trigger the workflow, so the*)fallback only ever servesv*tags.