Show changelog for builds before current
Flynsarmy opened this issue · 2 comments
On a fresh install of this plugin this is what I see
Rather than slicing based on current build number, I'd prefer an option (with default to 5) to show the x number of latest builds in the change log. Often daft doesn't update the changelog and can get several builds behind so the slice method is a little inaccurate. Showing x latest changes will always work.
If the changelog isn't updated to include a build (could happen often for insignificant builds) then the plugin already detects that and moves on to the next build it finds. The end result here, being the log gets sliced at the next-oldest available build so you still see the same as you would had your build been found.
What that doesn't cover though is what to do when there are no new builds at all, resulting in no output. My thoughts are to add an option to show x changes, but only when there are no new builds in the log.
Does this work for you? Essentially the plugin would show all builds released since the current build, or fall back to the last x builds depending on setting, defaulting to 5.
Sounds really complicated, but if it means I can actually see a few entries in the change log then go for it :)