mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Only use --code-sign parameter on macOS if env variables are set
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user