feat(ci): unify build and add automatic releases on tag push
Build and Release / Build Linux (push) Failing after 1s
Build and Release / Build Windows (push) Failing after 1s
Build and Release / Create Release (push) Has been skipped

This commit is contained in:
Daniel Dybing
2026-08-03 23:49:04 +02:00
parent 28028bcda4
commit 6cf47d6d34
4 changed files with 120 additions and 85 deletions
+5 -3
View File
@@ -11,9 +11,11 @@ def clean_build_dirs():
print(f"Cleaning {d}...")
shutil.rmtree(d)
spec_file = "TeletextEditor_Linux.spec" if platform.system() == "Linux" else "TeletextEditor_Windows.spec"
if os.path.exists(spec_file):
os.remove(spec_file)
for f in os.listdir("."):
if f.endswith(".spec"):
print(f"Removing {f}...")
os.remove(f)
def build():
system = platform.system()