Adam-Kay / Batch-Encoder

Command line batch file encoder using FFmpeg
GNU General Public License v3.0
0 stars 0 forks source link

Show changelog when updating to new version of program #19

Closed Adam-Kay closed 10 months ago

Adam-Kay commented 11 months ago

Addendum:

It might be a good idea to also add a changelog when the new file is downloaded.

Originally posted by @Adam-Kay in https://github.com/Adam-Kay/Batch-Encoder/issues/11#issuecomment-1839549375

Adam-Kay commented 11 months ago

Given how painful doing the regex and escaping was for the v1.5.0 release (see here and here), I will have to see if this is even worth doing.

If all else fails, as a stopgap I could add something like:

To see what changed this version, go to:
<link>
Adam-Kay commented 11 months ago

If I need newline characters, I can use this trick.

Adam-Kay commented 10 months ago

Using findstr with keyword "body", and then %body:~11,-1% to trim the excess. Then using the newline trick with a replace on \r\n will be enough to make it display properly

Adam-Kay commented 10 months ago

Solved as of c339f51, looks like so:

image

It might change in future if it ends up feeling cluttered, but at least it's there.