Skip to content

Commit ca86680

Browse files
⬆️ CI/CD: Updated
1 parent cb8677a commit ca86680

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/candidate-release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
permissions:
99
contents: write
1010

11+
env:
12+
TAG: ${{ github.ref_name }}
13+
1114
jobs:
1215
deployment:
1316
runs-on: ubuntu-latest
@@ -20,10 +23,9 @@ jobs:
2023
- name: Create release
2124
env:
2225
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
BRANCH_NAME: ${github.ref_name##*/}
2426
run: |
25-
echo ${BRANCH_NAME}
26-
gh release create ${BRANCH_NAME##*/} \
27+
echo ${TAG##*/}
28+
gh release create ${TAG##*/} \
2729
--repo="$GITHUB_REPOSITORY" \
28-
--title="${BRANCH_NAME##*/}" \
30+
--title="${TAG##*/}" \
2931
--generate-notes

0 commit comments

Comments
 (0)