Skip to content

Commit c75ff1d

Browse files
committed
Add branch name to release
1 parent ceb2c5f commit c75ff1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
with:
3737
files: ./result/*.jar
3838
body_path: "${{ github.workspace }}/release-body.md"
39-
name: v${{ github.event.inputs.version }}
40-
tag_name: ${{ github.event.inputs.version }}
39+
name: ${{ github.ref_name }}/v${{ github.event.inputs.version }}
40+
tag_name: ${{ github.ref_name }}/${{ github.event.inputs.version }}
41+
target_commitish: ${{ github.ref }}
4142

4243
- name: Calculate next version
4344
id: next_version

0 commit comments

Comments
 (0)