Skip to content

Commit 6a0ef40

Browse files
committed
fix: debug 4
1 parent 7c2a04f commit 6a0ef40

2 files changed

Lines changed: 6 additions & 15 deletions

File tree

.github/release-drafter.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
name-template: "{$GITHUB_REF_NAME}"
2-
tag-template: "{$GITHUB_REF_NAME}"
3-
version-resolver:
4-
major:
5-
labels:
6-
- 'major'
7-
minor:
8-
labels:
9-
- 'minor'
10-
patch:
11-
labels:
12-
- 'patch'
13-
default: patch
1+
name-template: "v$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
3+
144
categories:
155
- title: "### Added"
166
labels:
@@ -42,7 +32,7 @@ categories:
4232
change-template: "- $TITLE by @$AUTHOR (#$NUMBER)"
4333

4434
template: |
45-
## $NAME [$NAME]: https://github.com/$OWNER/$REPOSITORY/releases/tag/GITHUB_REF_NAME
35+
## $NAME
4636
$CHANGES
4737
48-
[$NAME]: https://github.com/$OWNER/$REPOSITORY/releases/tag/GITHUB_REF_NAME
38+
[$NAME]: https://github.com/$OWNER/$REPOSITORY/releases/tag/v$RESOLVED_VERSION

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
uses: release-drafter/release-drafter@v5
2424
with:
2525
config-name: release-drafter.yml
26+
tag: ${{ github.event.inputs.version_tag }}
2627
env:
2728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)