Skip to content

Commit 775cee1

Browse files
committed
Add output directly to release noted
1 parent 191255d commit 775cee1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/reusable-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ jobs:
9191
LAST_TAG="$(gh release view --json tagName -q .tagName --repo XRPLF/clio)"
9292
LAST_TAG_COMMIT="$(git rev-parse $LAST_TAG)"
9393
BASE_COMMIT="$(git merge-base HEAD $LAST_TAG_COMMIT)"
94-
git-cliff "${BASE_COMMIT}..HEAD" --ignore-tags "nightly|-b|-rc"
95-
cat CHANGELOG.md >> "${RUNNER_TEMP}/release_notes.md"
94+
git-cliff "${BASE_COMMIT}..HEAD" --ignore-tags "nightly|-b|-rc" >> "${RUNNER_TEMP}/release_notes.md"
9695
9796
- name: Upload release notes
9897
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0

cliff.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ postprocessors = [
4949
]
5050
# render body even when there are no releases to process
5151
# render_always = true
52-
# output file path
53-
output = "CHANGELOG.md"
5452

5553
[git]
5654
# parse the commits based on https://www.conventionalcommits.org

0 commit comments

Comments
 (0)