diff --git a/.travis.yml b/.travis.yml index a6166d54..025d97a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -107,9 +107,8 @@ jobs: os: osx script: yarn do server_manager/electron_app/package_macos - # Note that because we cannot currently build signed macOS or Windows - # binaries on Travis, those builds must be manually built and uploaded - # to the release page. + # Note that because we cannot currently sign Windows binaries on Travis, + # these must be manually built and uploaded to the releases page. - stage: release env: - DESC=linux manager @@ -119,6 +118,16 @@ jobs: - rpm script: yarn do server_manager/electron_app/release_linux + - stage: release + os: osx + env: + - DESC=macos manager + script: + - openssl aes-256-cbc -K $encrypted_61a49da75942_key -iv $encrypted_61a49da75942_iv -in macos-signing-certificate.p12.enc -out macos-signing-certificate.p12 -d + - export CSC_LINK=$(pwd)/macos-signing-certificate.p12 + # Must run yarn again due to the OS change, required for signing to work. + - yarn && yarn do server_manager/electron_app/release_macos + deploy: provider: releases api_key: diff --git a/macos-signing-certificate.p12.enc b/macos-signing-certificate.p12.enc new file mode 100644 index 00000000..92aed4e2 Binary files /dev/null and b/macos-signing-certificate.p12.enc differ