Skip to content

Commit 17383ec

Browse files
authored
Minor change to release workflow (#1078)
## What changes are proposed in this pull request? Instead of 'content', now we are using 'body' of the release notes. Earlier, it was printing the heading twice. This change should fix it. ## How is this tested? N/A NO_CHANGELOG=true --------- Signed-off-by: Divyansh Vijayvergia <[email protected]>
1 parent 736a39a commit 17383ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
RELEASE_NOTES_DIR=/tmp/release-notes
3838
mkdir -p "$RELEASE_NOTES_DIR"
3939
RELEASE_NOTES_FILE="$RELEASE_NOTES_DIR/release-notes.md"
40-
git for-each-ref --format='%(contents)' ${{ github.ref }} > "$RELEASE_NOTES_FILE"
40+
git for-each-ref --format='%(body)' ${{ github.ref }} > "$RELEASE_NOTES_FILE"
4141
echo "Release notes file: $RELEASE_NOTES_FILE"
4242
echo "Release notes contents:"
4343
cat "$RELEASE_NOTES_FILE"

0 commit comments

Comments
 (0)