make-changelog 348 B

12345678
  1. #!/usr/bin/env bash
  2. # Make a draft changelog. Expects two tags to compate: previous release and current.
  3. # https://stackoverflow.com/questions/1441010/the-shortest-possible-output-from-git-log-containing-author-and-date
  4. # `./bin/make-changelog uppy@1.31.1 uppy@2.0.1`
  5. git_log=$(git log $1..$2 --pretty=format:"- %s %aE (%h)")
  6. echo "$git_log"
  7. exit;