Created
July 3, 2013 03:00
-
-
Save kumpera/5915126 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/profiles/mono-mac-release/mono-mac-release.py b/profiles/mono-mac-release/mono-mac-release.py | |
| index 8e0311c..37fd22b 100755 | |
| --- a/profiles/mono-mac-release/mono-mac-release.py | |
| +++ b/profiles/mono-mac-release/mono-mac-release.py | |
| @@ -23,6 +23,7 @@ class MonoReleaseProfile(DarwinProfile, MonoReleasePackages): | |
| self.BUILD_NUMBER = "0" | |
| self.MRE_GUID = "432959f9-ce1b-47a7-94d3-eb99cb2e1aa8" | |
| self.MDK_GUID = "964ebddd-1ffe-47e7-8128-5ce17ffffb05" | |
| + self.sign_package = os.getenv('BOCKBUILD_SIGN_PACKAGE') != None | |
| if self.RELEASE_VERSION is None: | |
| raise Exception("Please define the environment variable: MONO_VERSION") | |
| @@ -126,7 +127,7 @@ class MonoReleaseProfile(DarwinProfile, MonoReleasePackages): | |
| "--root '%s/PKGROOT'" % working_dir, | |
| "--version '%s'" % self.RELEASE_VERSION, | |
| "--install-location '/'", | |
| - "--sign '%s'" % identity, | |
| + ("--sign '%s'" % identity) if self.sign_package else "", | |
| "--scripts '%s'" % resources_dir, | |
| os.path.join(working_dir, "mono.pkg")]) | |
| print pkgbuild_cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment