mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Only use --code-sign parameter on macOS if env variables are set
This commit is contained in:
parent
e64bd40ff5
commit
ff2409f10e
@ -14,7 +14,11 @@ phases:
|
||||
displayName: Install Node.js 8.9.3
|
||||
|
||||
- script: |
|
||||
script/build --code-sign --compress-artifacts
|
||||
if [ ! -z $ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL ] && [ $ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL != "null" ]; then
|
||||
script/build --code-sign --compress-artifacts
|
||||
else
|
||||
script/build --compress-artifacts
|
||||
fi
|
||||
displayName: Build Atom
|
||||
env:
|
||||
ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
||||
|
Loading…
Reference in New Issue
Block a user