You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
392 B

  1. #!/bin/sh
  2. printf "# ChangeLog\n\n"
  3. for current_tag in $(git tag --sort=-creatordate) ; do
  4. tag_date=$(git log -1 --pretty=format:'%ad' --date=short ${current_tag})
  5. printf "## [${current_tag}](https://gitlab.haskell.org/haskell/ghcup/-/tags/${current_tag}) (${tag_date})\n\n"
  6. git --no-pager tag -l --format='%(contents)' ${current_tag} | sed -e '/BEGIN PGP/,$d'
  7. printf "\n\n"
  8. done