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++

Revert "[win] Try to fix CI signing without resigning"

Dmitry Kazakovb0987343b408
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 58e2806eb4..71c30f41ae 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:
- toSign.write(f"{filePath}\n")
+ print(filePath, file=toSign)
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 )