changelog.sh 320 B

123456789101112
  1. #!/bin/bash
  2. # Generates changelog day by day
  3. NEXT=$(date +%F)
  4. echo "CHANGELOG"
  5. echo ----------------------
  6. git log --no-merges --format="%cd" --date=short | sort -u -r | while read DATE ; do
  7. echo
  8. echo [$DATE]
  9. GIT_PAGER=cat git log --no-merges --format=" * %s" --since=$DATE --until=$NEXT
  10. NEXT=$DATE
  11. done