release: Use correct version name and automatically add the link

The template was using the version with the `v` prefix, whereas the
repro-build script is searching for the version without the prefix
This commit is contained in:
Christian Decker 2020-08-11 13:31:33 +02:00 committed by Rusty Russell
parent fb4f4bff46
commit 70cbdbb363

View file

@ -116,7 +116,9 @@ ${group(groups['removed']) | trim}
${h3} Fixed
${group(groups['fixed']) | trim}
${h3} Security
${group(groups['security']) | trim}""")
${group(groups['security']) | trim}
[${version}]: https://github.com/ElementsProject/lightning/releases/tag/v${version}""")
if __name__ == "__main__":
@ -142,6 +144,6 @@ if __name__ == "__main__":
groups=groups,
h2='##',
h3='###',
version=tocommit,
version=tocommit[1:],
date=date,
))