Automated commit: v0.30.6

This commit is contained in:
IQuant 2024-11-26 19:27:50 +03:00
parent 4aabb8f5ae
commit ddb2585910

View file

@ -1,6 +1,11 @@
from prepare_release import * from prepare_release import *
def generate_notes(tag): def generate_notes(tag):
last_release = get_last_release()
print("Last release is:", last_release["name"])
pull_requests = get_pull_requests_from(last_release["publishedAt"])
notes = ReleaseNotes() notes = ReleaseNotes()
notes.title("Noita Entangled Worlds "+tag) notes.title("Noita Entangled Worlds "+tag)
@ -42,12 +47,6 @@ def main():
subprocess.run(["git", "pull"]) subprocess.run(["git", "pull"])
subprocess.run(["git", "commit", "-am", "Automated commit: "+tag]) subprocess.run(["git", "commit", "-am", "Automated commit: "+tag])
last_release = get_last_release()
print("Last release is:", last_release["name"])
pull_requests = get_pull_requests_from(last_release["publishedAt"])
notes_path = generate_notes(tag) notes_path = generate_notes(tag)
subprocess.check_call(["git", "tag", "-a", "-F", notes_path ]) subprocess.check_call(["git", "tag", "-a", "-F", notes_path ])