We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4222691 commit ba29f90Copy full SHA for ba29f90
.github/workflows/candidate-release.yml
@@ -20,10 +20,10 @@ jobs:
20
- name: Create release
21
env:
22
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
- BRANCH_NAME: ${{ $(echo ${GITHUB_REF##*/}) }}
+ BRANCH_NAME: ${{ github.ref_name }}
24
run: |
25
- echo $BRANCH_NAME
26
- gh release create $env:BRANCH_NAME \
+ echo ${BRANCH_NAME##*/}
+ gh release create ${BRANCH_NAME##*/} \
27
--repo="$GITHUB_REPOSITORY" \
28
- --title="$env:BRANCH_NAME" \
+ --title="${BRANCH_NAME##*/}" \
29
--generate-notes
0 commit comments