ci(lab-publish): derive release tag from branch (main->latest, development->latest-dev) #44

Closed
sameh-farouk wants to merge 1 commit from development_sameh_cherry_ci_release_tag into main
Member

main side of the hero_livekit publish fix (companion to #43 on development).

main only triggered on development and uploaded everything to latest. Now:

Push Release tag
main latest (stable)
development latest-dev (prerelease)
v* tag the ref name

Applied the tag logic directly to main's file (not a cherry-pick of #43) because main carries a Rust 1.96 toolchain bump that development doesn't — a cherry-pick won't apply cleanly. Kept main's 1.96 toolchain untouched.

Verified: YAML + bash -n pass; tag derivation main->latest, development->latest-dev, v2.0.0->v2.0.0.

`main` side of the hero_livekit publish fix (companion to #43 on `development`). `main` only triggered on `development` and uploaded everything to `latest`. Now: | Push | Release tag | |---|---| | `main` | `latest` (stable) | | `development` | `latest-dev` (prerelease) | | `v*` tag | the ref name | Applied the tag logic directly to `main`'s file (not a cherry-pick of #43) because `main` carries a Rust 1.96 toolchain bump that `development` doesn't — a cherry-pick won't apply cleanly. **Kept main's 1.96 toolchain untouched.** Verified: YAML + `bash -n` pass; tag derivation `main->latest`, `development->latest-dev`, `v2.0.0->v2.0.0`.
ci(lab-publish): derive release tag from branch (main->latest, development->latest-dev)
All checks were successful
Build & Test / check (push) Successful in 2m52s
Build & Test / check (pull_request) Successful in 7m3s
08ad7aaef9
main still uploaded every push to the `latest` release (no --release-tag, lab
defaults to `latest`) and only triggered on development. Adopt per-branch tag
logic:
  - push to main        -> latest      (stable)
  - push to development -> latest-dev  (lab marks any `-dev` tag prerelease)
  - push v* tag         -> the ref name (versioned release)

Add `main` to the push triggers and pass --release-tag "$TAG". Kept main's
existing Rust 1.96 toolchain (RUSTUP_TOOLCHAIN + install) untouched. Applied
directly to main's file rather than cherry-picking development, because main
and development diverge on the toolchain and a cherry-pick won't apply cleanly.
sameh-farouk closed this pull request 2026-06-07 16:57:45 +00:00
All checks were successful
Build & Test / check (push) Successful in 2m52s
Build & Test / check (pull_request) Successful in 7m3s

Pull request closed

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_livekit!44
No description provided.