Skip to content

Conversation

@cdoern
Copy link
Collaborator

@cdoern cdoern commented Jan 28, 2026

What does this PR do?

git branch -r outputs lines with leading spaces (e.g. ' origin/release-0.3.x'). The sed command stripped 'origin/' but not the whitespace, causing the release branch regex to fail and the wrong client version to be installed.

Trim whitespace in both the discover-branches step and the install-llama-stack-client action as a safety net.

Test Plan

see https://github.com/llamastack/llama-stack/actions/runs/21453322655/job/61787508351 with a successful run!

git branch -r outputs lines with leading spaces (e.g. '  origin/release-0.3.x').
The sed command stripped 'origin/' but not the whitespace, causing the
release branch regex to fail and the wrong client version to be installed.

Trim whitespace in both the discover-branches step and the
install-llama-stack-client action as a safety net.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 28, 2026
@leseb leseb merged commit 20764ce into main Jan 29, 2026
28 checks passed
@leseb leseb deleted the branch-name branch January 29, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants