From e0462931d314b0af16f0c8d283e9947f9965627b Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 9 Jan 2020 20:44:20 +0100 Subject: [PATCH] Fix links in CHANGELOG --- CHANGELOG.md | 14 +++++++------- generate_changelog.sh | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca47e1f..82a84f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,7 @@ Other: * add manpage support when using man-db -## [0.0.7](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2019-01-07) +## [0.0.7](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.7) (2019-01-07) Release 0.0.7 @@ -74,32 +74,32 @@ API changes: - `self-update` was renamed to `upgrade` -## [0.0.6](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-10-30) +## [0.0.6](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.6) (2018-10-30) Release 0.0.6 -## [0.0.5](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-10-16) +## [0.0.5](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.5) (2018-10-16) Release 0.0.5 -## [0.0.4](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-10-09) +## [0.0.4](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.4) (2018-10-09) Release 0.0.4 -## [0.0.3](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-09-30) +## [0.0.3](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.3) (2018-09-30) Release 0.0.3 -## [0.0.2](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-09-30) +## [0.0.2](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.2) (2018-09-30) Release 0.0.2 -## [0.0.1](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (2018-09-29) +## [0.0.1](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.1) (2018-09-29) Release 0.0.1 diff --git a/generate_changelog.sh b/generate_changelog.sh index f1d3373..14926db 100755 --- a/generate_changelog.sh +++ b/generate_changelog.sh @@ -4,7 +4,7 @@ printf "# ChangeLog\n\n" for current_tag in $(git tag --sort=-creatordate) ; do tag_date=$(git log -1 --pretty=format:'%ad' --date=short ${current_tag}) - printf "## [${current_tag}](https://gitlab.haskell.org/haskell/ghcup/-/tags/0.0.8) (${tag_date})\n\n" + printf "## [${current_tag}](https://gitlab.haskell.org/haskell/ghcup/-/tags/${current_tag}) (${tag_date})\n\n" git --no-pager tag -l --format='%(contents)' ${current_tag} | sed -e '/BEGIN PGP/,$d' printf "\n\n" done