builds: misc

This commit is contained in:
bnnm 2023-01-29 23:00:29 +01:00
parent 40f9aa017c
commit 6a1486ece7
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# generates changelog
# NOTE: this is just a quick fix, feel free to handle releases more cleanly
import subprocess, urllib.request, json
import subprocess, urllib.request, json, datetime
USE_GIT = True
GIT_MAX_MERGES = 10 #maybe should use max date
@ -131,8 +131,10 @@ def write(lines):
f.write('\n'.join(lines))
def get_lines():
curr_date = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
lines = [
'### CHANGELOG (latest changes)',
'### CHANGELOG',
'(latest main changes on %s, skips smaller commits)' % (curr_date),
'',
]
try:

5
.gitignore vendored
View File

@ -77,4 +77,7 @@ cmake_install.cmake
#doc build
doc/INFO.md
doc/_build
doc/_build
changelog.txt
__pycache__