Build debug build on notif branch

This commit is contained in:
Nicolas Werner 2023-05-29 00:54:28 +02:00
parent 43df8f3501
commit d25515e676
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,6 @@ task:
- ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip - ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
gitlab_script: gitlab_script:
- > - >
[ "${CIRRUS_BRANCH}" == "master" ] && curl -X POST --fail -F token="${GITLAB_TRIGGER_TOKEN}" -F ref="${CIRRUS_BRANCH}" -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" -F "variables[TRIGGERED_BY]=cirrus" "https://nheko.im/api/v4/projects/2/trigger/pipeline" || true [ "${CIRRUS_BRANCH}" == "notif-test" ] && curl -X POST --fail -F token="${GITLAB_TRIGGER_TOKEN}" -F ref="${CIRRUS_BRANCH}" -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" -F "variables[TRIGGERED_BY]=cirrus" "https://nheko.im/api/v4/projects/2/trigger/pipeline" || true
binaries_artifacts: binaries_artifacts:
path: build/nheko.zip path: build/nheko.zip

View file

@ -185,6 +185,7 @@ codesign-macos:
variables: variables:
PLAT: "apple_silicon" PLAT: "apple_silicon"
- if : '$CI_COMMIT_BRANCH == "master"' - if : '$CI_COMMIT_BRANCH == "master"'
- if : '$CI_COMMIT_BRANCH == "notif-test"'
- if : $CI_COMMIT_TAG - if : $CI_COMMIT_TAG
artifacts: artifacts:
paths: paths: