mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 23:48:05 +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
|
displayName: Install Node.js 8.9.3
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
if [ ! -z $ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL ] && [ $ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL != "null" ]; then
|
||||||
script/build --code-sign --compress-artifacts
|
script/build --code-sign --compress-artifacts
|
||||||
|
else
|
||||||
|
script/build --compress-artifacts
|
||||||
|
fi
|
||||||
displayName: Build Atom
|
displayName: Build Atom
|
||||||
env:
|
env:
|
||||||
ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
||||||
|
Loading…
Reference in New Issue
Block a user