Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[win] Try to fix CI signing without resigning

Dmitry Kazakovc32da861e739
diff --git a/build-tools/ci-scripts/sign-windows-package-at-notary-service.py b/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
index 71c30f41ae..58e2806eb4 100644
--- a/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
+++ b/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
@@ -39,7 +39,7 @@ with open("files-to-sign.txt", 'w') as toSign:
if (has_certificate_entry(filePath)):
print(f"INFO: skip signing for {filePath} (already signed!)")
else:
- print(filePath, file=toSign)
+ toSign.write(f"{filePath}\n")
commandToRun = f"{sys.executable} -u ci-notary-service/signwindowsbinaries.py --config {KRITACI_WINDOWS_SIGN_CONFIG} --files-from files-to-sign.txt"
subprocess.check_call(commandToRun, stdout=sys.stdout, stderr=sys.stderr, shell=True )