Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add double quotes - fix lint warnings
  • Loading branch information
mrodm committed Jul 25, 2025
commit 2fc8ba6b0c83f8f36a9c2faafb23e2f32098ed40
4 changes: 2 additions & 2 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ branch_name_label() {

if [[ "${BUILDKITE_PULL_REQUEST}" != "false" ]] ; then
# remove fork from branch name
branch=$(echo $branch | cut -d : -f 2)
branch=$(echo "$branch" | cut -d : -f 2)
fi

# From Jenkins
Expand All @@ -33,7 +33,7 @@ branch_name_label() {
branch=$(echo "$branch" | tr '[:upper:]' '[:lower:]' | tr '_/\:. ' '-')

# truncate up to 63 characters limit
echo $branch | head -c 63
echo "$branch" | head -c 63
}

BRANCH_NAME_LOWER_CASE=$(branch_name_label "$BUILDKITE_BRANCH")
Expand Down