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

Remove absolute paths from macos.yml

Dmitry Kazakov48612ff22307
diff --git a/build-tools/ci-scripts/macos.yml b/build-tools/ci-scripts/macos.yml
index cec97fbe08..d0983ecc93 100644
--- a/build-tools/ci-scripts/macos.yml
+++ b/build-tools/ci-scripts/macos.yml
@@ -59,17 +59,17 @@ macos-build:
- python3 -u krita-deps-management/ci-utilities/run-ci-build.py --project $CI_PROJECT_NAME --branch $CI_COMMIT_REF_NAME --platform MacOS/Qt5/Shared --skip-publishing 2>&1 | tee build-krita.log
# firstly, build .app bundle and sign it
- - env BUILDROOT=$CI_PROJECT_DIR ONLY_APP=1 $CI_PROJECT_DIR/packaging/macos/osxdeploy.sh | tee build-app.log
- # TODO: add a note about absolute paths if they were actually the problem
- - python3 ci-notary-service/signmacapp.py --config upstream-ci-utilities/signing/signmacapp.ini $CI_PROJECT_DIR/_dmg/*.app 2>&1 | tee app-sign.log
- - python3 ci-notary-service/notarizemacapp.py --config upstream-ci-utilities/signing/notarizemacapp.ini $CI_PROJECT_DIR/_dmg/*.app 2>&1 | tee app-notarize.log
-
+ - env BUILDROOT=$CI_PROJECT_DIR ONLY_APP=1 packaging/macos/osxdeploy.sh | tee build-app.log
+
+ - python3 ci-notary-service/signmacapp.py --config upstream-ci-utilities/signing/signmacapp.ini _dmg/*.app 2>&1 | tee app-sign.log
+ - python3 ci-notary-service/notarizemacapp.py --config upstream-ci-utilities/signing/notarizemacapp.ini _dmg/*.app 2>&1 | tee app-notarize.log
+
# secondly, build .dmg image and sign it as well
- - env BUILDROOT=$CI_PROJECT_DIR ONLY_DMG=1 $CI_PROJECT_DIR/packaging/macos/osxdeploy.sh | tee build-dmg.log
- # TODO: add a note about absolute paths if they were actually the problem
- - python3 ci-notary-service/signmacapp.py --config upstream-ci-utilities/signing/signmacapp.ini $CI_PROJECT_DIR/_packaging/*.dmg 2>&1 | tee dmg-sign.log
- - python3 ci-notary-service/notarizemacapp.py --config upstream-ci-utilities/signing/notarizemacapp.ini $CI_PROJECT_DIR/_packaging/*.dmg 2>&1 | tee dmg-notarize.log
- - python3 -u build-tools/ci-scripts/upload-nightly-packages.py --platform macos-universal --folder $CI_PROJECT_DIR/_packaging 2>&1 | tee dmg-publish.log
+ - env BUILDROOT=$CI_PROJECT_DIR ONLY_DMG=1 packaging/macos/osxdeploy.sh | tee build-dmg.log
+
+ - python3 ci-notary-service/signmacapp.py --config upstream-ci-utilities/signing/signmacapp.ini _packaging/*.dmg 2>&1 | tee dmg-sign.log
+ - python3 ci-notary-service/notarizemacapp.py --config upstream-ci-utilities/signing/notarizemacapp.ini _packaging/*.dmg 2>&1 | tee dmg-notarize.log
+ - python3 -u build-tools/ci-scripts/upload-nightly-packages.py --platform macos-universal --folder _packaging 2>&1 | tee dmg-publish.log
after_script:
# try to fetch signing errors from the task log
- if [[ -e /tmp/task-debug.log ]]; then mv /tmp/task-debug.log $CI_PROJECT_DIR/; fi