Skip to content

Commit

Permalink
Update scripts/create_release_text.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
internetisaiah authored Nov 7, 2024
1 parent 411c02d commit 1ad0ad5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/create_release_text.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ main() {
LAST_RELEASE_TIMESTAMP=$(git log -1 --pretty=format:"%cI" "$LAST_RELEASE_TAG")

# Convert Git logs to JSON and sort by date.
#COMMIT_LOGS=$(git log --merges --first-parent --since="$LAST_RELEASE_TIMESTAMP" origin/master --pretty=format:'{%n "commit": "%H",%n "date": "%cI",%n "title": "%s",%n "body": "%b"%n},' | perl -pe 'BEGIN{print "["}; END{print "]\n"}' | perl -pe 's/},]/}]/' | jq -c '. | sort_by(.date)')
COMMIT_LOGS=$(git log --merges --first-parent --since="$LAST_RELEASE_TIMESTAMP" origin/master \
--pretty=format:'{%n <commit>: <%H>,%n <date>: <%cI>,%n <title>: <%s>,%n <body>: <%b>%n},' \
| perl -pe 'BEGIN{print "["}; END{print "]\n"}' \
Expand Down

0 comments on commit 1ad0ad5

Please sign in to comment.