Skip to content

Commit ba29f90

Browse files
⬆️ CI/CD: Updated
1 parent 4222691 commit ba29f90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/candidate-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Create release
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
BRANCH_NAME: ${{ $(echo ${GITHUB_REF##*/}) }}
23+
BRANCH_NAME: ${{ github.ref_name }}
2424
run: |
25-
echo $BRANCH_NAME
26-
gh release create $env:BRANCH_NAME \
25+
echo ${BRANCH_NAME##*/}
26+
gh release create ${BRANCH_NAME##*/} \
2727
--repo="$GITHUB_REPOSITORY" \
28-
--title="$env:BRANCH_NAME" \
28+
--title="${BRANCH_NAME##*/}" \
2929
--generate-notes

0 commit comments

Comments
 (0)