Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@fabb
Copy link
Owner

@fabb fabb commented May 21, 2025

The conventional-changelog command was still not producing the RELEASE_NOTES.md file correctly when using the -o and -s flags together.

This commit changes the command to use standard output redirection: conventional-changelog -p angular -i CHANGELOG.md -s -r 0 > RELEASE_NOTES.md && cat RELEASE_NOTES.md

This ensures that the output of the conventional-changelog script is properly captured in the RELEASE_NOTES.md file, which is then used for the GitHub release body. The cat RELEASE_NOTES.md remains for debugging purposes in the workflow logs.

The `conventional-changelog` command was still not producing the
`RELEASE_NOTES.md` file correctly when using the -o and -s flags
together.

This commit changes the command to use standard output redirection:
`conventional-changelog -p angular -i CHANGELOG.md -s -r 0 > RELEASE_NOTES.md && cat RELEASE_NOTES.md`

This ensures that the output of the `conventional-changelog` script
is properly captured in the `RELEASE_NOTES.md` file, which is then
used for the GitHub release body. The `cat RELEASE_NOTES.md` remains
for debugging purposes in the workflow logs.
@fabb fabb merged commit 284e364 into master May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants