Skip to content

Commit

Permalink
docs: Fix broken release history page
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 25, 2024
1 parent fa8da69 commit 1418f74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/chezmoi.io/docs/reference/release-history.md.tmpl
@@ -1,8 +1,9 @@
# Release history

{{- $releases := gitHubListReleases "twpayne/chezmoi" }}
{{- $latestRelease := index $releases 0 }}

[Upcoming changes](https://github.com/twpayne/chezmoi/compare/{{ $releases | index 0 | .Name }}...master)
[Upcoming changes](https://github.com/twpayne/chezmoi/compare/{{ $latestRelease.Name }}...master)

{{- $lastReleaseIndex := sub (len $releases) 1 }}
{{- range $index, $release := $releases }}
Expand Down

0 comments on commit 1418f74

Please sign in to comment.