rtl_433/.deploy/gen_release_info.py
Christian W. Zuckschwerdt 2f96ba8b00 Add Release build workflow
2021-05-08 19:23:04 +02:00

14 lines
397 B
Python
Executable file

#!/usr/bin/env python
with open('CHANGELOG.md') as r, open('RELEASEINFO.md', 'w') as w:
# skip over possible 'Unreleased'
for line in r:
if line.startswith('## Release'):
# w.write(line[1:])
break
for line in r:
if line.startswith('## '):
break
# if line.startswith('#'):
# line = line[1:]
w.write(line)