Skip to content

Commit 57480c0

Browse files
authored
Merge pull request #628 from doitintl/fix/gitcliff
fix(gitcliff): Add fix for git cliff
2 parents 4676658 + 9d487c9 commit 57480c0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ jobs:
155155
with:
156156
config: cliff.toml
157157
args: --verbose --latest
158+
env:
159+
OUTPUT: changelog.md
158160
- uses: actions/download-artifact@v1
159161
with:
160162
name: release-artifacts-linux-amd64
@@ -170,7 +172,7 @@ jobs:
170172
with:
171173
tag_name: ${{ steps.get_tag.outputs.git_tag }}
172174
release_name: ${{ steps.get_tag.outputs.git_tag }}
173-
body_path: ./release-artifacts/changelog.md
175+
body_path: ${{ steps.git-cliff.outputs.changelog }}
174176
draft: ${{ startsWith(steps.get_tag.outputs.git_tag, 'nightly') != true }}
175177
prerelease: ${{ startsWith(steps.get_tag.outputs.git_tag, 'nightly') }}
176178
push-image:

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ fmtcoverage.html
1515
.swp
1616
.idea
1717
.DS_Store
18+
19+
# changelog
20+
changelog.md

0 commit comments

Comments
 (0)