Skip to content

Commit e22d1e5

Browse files
committed
ci: fix invalid way to retrieve branch name
1 parent 60ca4d2 commit e22d1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/draft-new-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Extract version from branch name
1616
if: startsWith(github.event.pull_request.head.ref, 'release/')
1717
run: |
18-
BRANCH_NAME="${{ echo ${GITHUB_REF#refs/heads/} }}"
18+
BRANCH_NAME=${GITHUB_REF#refs/heads/}
1919
VERSION=${BRANCH_NAME#release/}
2020
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
2121

0 commit comments

Comments
 (0)