Skip to content

Commit eabbb2c

Browse files
committed
fix(ci): try use tag as draft release name template
1 parent 01629cb commit eabbb2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Should trim prefix `refs/tags/` from tag name
2-
name-template: $BASE_REF_NAME 🌈
3-
tag-template: $BASE_REF_NAME
2+
name-template: ${{ github.ref_name }} 🌈
43
template: |
54
## Changes
65
$CHANGES

.github/workflows/build-release-artifacts-and-draft-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
with:
4545
config-name: workflows-config/release-drafter.yml
4646
disable-autolabeler: true
47+
tag: ${{ github.ref_name }}
4748
env:
4849
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4950
- name: Make Directories

0 commit comments

Comments
 (0)