File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,23 +4,23 @@ body = """
44## Core
55
66{% for commit in commits|filter(attribute="group", value = "core") %}
7- - {{ commit.message }}
7+ - {{ commit.message|split(pat=" \n ")|first }}
88{% else %}
99 N/A
1010{% endfor %}
1111
1212## Serialization
1313
1414{% for commit in commits|filter(attribute="group", value = "serialization") %}
15- - {{ commit.message }}
15+ - {{ commit.message|split(pat=" \n ")|first }}
1616{% else %}
1717 N/A
1818{% endfor %}
1919
2020## Misc
2121
2222{% for commit in commits|filter(attribute="group", value = "misc") %}
23- - {{ commit.message }}
23+ - {{ commit.message|split(pat=" \n ")|first }}
2424{% else %}
2525 N/A
2626{% endfor %}
Original file line number Diff line number Diff line change @@ -137,15 +137,16 @@ jobs:
137137 fetch-depth : 0
138138 - name : Generate changelog
139139 uses : orhun/git-cliff-action@v3
140+ id : cliff
140141 with :
141142 args : -v --current
142143 config : .github/cliff.toml
143144 env :
145+ OUTPUT : changes.md
144146 GITHUB_TOKEN : ${{github.token}}
145147 GITHUB_REPO : ${{github.repository}}
146- OUTPUT : ${{runner.temp}}/changes.md
147148 - name : Create release
148- run : gh release create $GITHUB_REF_NAME -F $RUNNER_TEMP/changes.md
149+ run : gh release create $GITHUB_REF_NAME -F '${{steps.cliff.outputs.changelog}}'
149150 env :
150151 GH_TOKEN : ${{github.token}}
151152
Original file line number Diff line number Diff line change 2121! .idea /ktlint-plugin.xml
2222! .idea /vcs.xml
2323
24+ # ## git-cliff ###
25+ changes.md
26+
2427# ## Vim ###
2528[._ ]* .s [a-v ][a-z ]
2629[._ ]* .sw [a-p ]
You can’t perform that action at this time.
0 commit comments