[education/labplot] /: CI: fix syntax for re-sign with entitlement
Stefan Gerlach <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 1341692551497ac72d5a215e0d4d876b8cd024a8 by Stefan Gerlach.
Committed on 29/07/2026 at 16:20.
Pushed by sgerlach into branch 'master'.
CI: fix syntax for re-sign with entitlement
M +4 -9 .gitlab-ci.yml
https://invent.kde.org/education/labplot/-/commit/1341692551497ac72d5a215e0d4d876b8cd024a8
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 271c4655be..7e5e4387b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -103,15 +103,10 @@ craft_macos_qt6_arm64:
- craftmaster -c --no-cache --options $CI_PROJECT_NAME.srcDir=$CI_PROJECT_DIR/src/ $CI_PROJECT_NAME
# Re-sign with entitlements (Craft doesn't pick them up automatically yet)
- APP_PATH=archive/Applications/KDE/LabPlot.app
- ENTITLEMENTS="$APP_PATH/Contents/Resources/labplot.entitlements"
- if [ -f "$ENTITLEMENTS" ]; then
- echo "Applying entitlements to LabPlot.app"
- codesign --force --deep --sign - --entitlements "$ENTITLEMENTS" "$APP_PATH"
- echo "Verifying entitlements:"
- codesign -d --entitlements - "$APP_PATH/Contents/MacOS/labplot"
- else
- echo "Warning! Entitlements file not found at $ENTITLEMENTS"
- fi
+ - echo "Applying entitlements to LabPlot.app"
+ - codesign --force --deep --sign - --entitlements "$APP_PATH/Contents/Resources/labplot.entitlements" "$APP_PATH"
+ - echo "Verifying entitlements:"
+ - codesign -d --entitlements - "$APP_PATH/Contents/MacOS/labplot"
# Package it up!
- craftmaster -c --package --options $CI_PROJECT_NAME.srcDir=$CI_PROJECT_DIR/src/ $CI_PROJECT_NAME
# Save our package