Skip to content

Commit e66ee5e

Browse files
committed
ci: include tag in bump branch name
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
1 parent 4ff4069 commit e66ee5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/bump-llamacpp.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
echo "### Already up to date" >> "$GITHUB_STEP_SUMMARY"
3636
else
3737
COMMIT_MSG=$(echo "$OUTPUT" | grep -oP "(?<=-m ').*(?=')")
38+
TAG=$(echo "$COMMIT_MSG" | grep -oP '[^/]+(?=\)$)')
3839
echo "commit-msg=$COMMIT_MSG" >> "$GITHUB_OUTPUT"
40+
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
3941
echo "changed=true" >> "$GITHUB_OUTPUT"
4042
echo "### $COMMIT_MSG" >> "$GITHUB_STEP_SUMMARY"
4143
fi
@@ -50,7 +52,7 @@ jobs:
5052
title: ${{ steps.bump.outputs.commit-msg }}
5153
body: |
5254
Bumps llama.cpp submodule.
53-
branch: bump-llamacpp
55+
branch: bump-llamacpp-${{ steps.bump.outputs.tag }}
5456
base: main
5557
labels: dependencies
5658
delete-branch: true

0 commit comments

Comments
 (0)