Skip to content

Commit

Permalink
misc: hide auto-generated commits + more
Browse files Browse the repository at this point in the history
- hide the auto-generated commits.

- added a dash at the start of each commit
  message.

- better spacing between commits in the
  auto-generated changelog.
  • Loading branch information
revam committed Mar 29, 2024
1 parent d956ae2 commit 522ca1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: |
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "CHANGELOG<<$EOF" >> "$GITHUB_OUTPUT"
git log $PREVIOUS_COMMIT..$NEXT_COMMIT --pretty=format:"%B%n" >> "$GITHUB_OUTPUT"
git log $PREVIOUS_COMMIT..$NEXT_COMMIT --pretty=format:"- %BENDOFCOMMIT" | grep -v "misc: update unstable manifest" | awk 'BEGIN{RS="ENDOFCOMMIT";ORS=""}{print $0}' | head -c -2 >> "$GITHUB_OUTPUT"
echo "" >> "$GITHUB_OUTPUT"
echo "$EOF" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 522ca1c

Please sign in to comment.