mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
Fix release notes script
This commit is contained in:
@@ -4,8 +4,8 @@ import os
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
notes_path = '.github/workflow_data/release.md'
|
notes_path = '.github/workflow_data/release.md'
|
||||||
with open(os.environ['GITHUB_EVENT_PATH']) as f:
|
with open(os.environ['GITHUB_EVENT_PATH'], "r") as f:
|
||||||
changelog = json.load(f.read())['pull_request']['body']
|
changelog = json.load(f)['pull_request']['body']
|
||||||
with open(notes_path, "r") as f:
|
with open(notes_path, "r") as f:
|
||||||
template = f.read()
|
template = f.read()
|
||||||
notes = template.format(
|
notes = template.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user