Skip to content

Commit ec9e560

Browse files
committed
Fix create-docs-artifacts.sh with new bors
1 parent 52882f6 commit ec9e560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/scripts/create-doc-artifacts.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ fi
1515
branch=$(git branch --show-current || echo)
1616

1717
if [ -n "$branch" ]; then
18-
branch="${branch}-"
18+
# Strip automation/bors/ prefix if present
19+
branch="${branch#automation/bors/}-"
1920
fi
2021

2122
if [ "${GITHUB_EVENT_NAME:=none}" = "pull_request" ]; then

0 commit comments

Comments
 (0)