Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MacOS installer to packaging #7481

Merged
merged 2 commits into from
Jul 3, 2018

Commits on Jul 3, 2018

  1. Add MacOS installer to packaging

    This adds the creation of a .dmg files when building packages on MacOS (the
    build host must be darwin with XCode installed). The .dmg file contains an
    installer (.pkg) and a rudimentary Uninstall.app.  When code signing is enabled
    every part of the .dmg is signed. This is the structure of the package.
    
    - beat.dmg
      - beat.pkg
        - internal-beat.pkg
        - BeatPrefPane.pkg
      - Uninstall.app
    
    The following environment variables control the code signing behavior.
    
    - APPLE_SIGNING_ENABLED - Must be set to true to enable signing. Defaults to
      false.
    - APPLE_SIGNING_IDENTITY_INSTALLER - filter for selecting the signing identity
      for installers. It's effectively used as
      `security find-identity -v | grep $APPLE_SIGNING_IDENTITY_INSTALLER` to
      select a single certificate.
    - APPLE_SIGNING_IDENTITY_APP - filter for selecting the signing identity
      for apps.
    
    Co-authored-by:  Adrian Serrano <adrisr83@gmail.com>
    andrewkroh and adriansr committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    a6f422f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76526b9 View commit details
    Browse the repository at this point in the history