File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 48
48
- name : Build package
49
49
run : uv build
50
50
51
+ - name : Get version from tag
52
+ id : tag_name
53
+ run : |
54
+ echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
55
+ shell : bash
56
+
57
+ - name : Read Changelog Entry
58
+ id : changelog_reader
59
+ uses : mindsers/changelog-reader-action@v2
60
+ with :
61
+ validation_level : warn
62
+ version : ${{ steps.tag_name.outputs.current_version }}
63
+ path : ./CHANGELOG.md
64
+
51
65
- name : Build changelog
52
66
id : gen_changelog
53
67
uses : mikepenz/release-changelog-builder-action@v5
61
75
uses : softprops/action-gh-release@v1
62
76
with :
63
77
files : dist/*
64
- body : ${{ steps.gen_changelog.outputs.changelog }}
78
+ body : |
79
+ ## Release Notes (from CHANGELOG.md)
80
+
81
+ ${{ steps.changelog_reader.outputs.changes }}
82
+
83
+ ---
84
+
85
+ ## Detailed Changes (auto-generated)
86
+
87
+ ${{ steps.gen_changelog.outputs.changelog }}
65
88
env :
66
89
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
90
You can’t perform that action at this time.
0 commit comments