diff --git a/CHANGELOG.md b/CHANGELOG.md
index ca47e1f5335cfa3c1c155037e4c4a872ea7bd76e..82a84f4790b4f8aff2a198928d88cf0f2374602a 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 f1d3373f5ce82fb0da649edab84fee650310ccfa..14926db9ca2f5b5a705e079bff0d8d507755e77d 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