Building on Mac OS 10.11 produces binaries that are compatible with
version 10.10. It order to build packages on Macs running 10.11 I have
removed the OS minor version number as part of the package filtering.
Commit migrated from https://github.com/dotnet/corefx/commit/
04b54e7ac019640a30272202aaaa210a02a29989
<Platform>amd64</Platform>
</Project>
<Project Include="osx\runtime.native.System.IO.Compression.pkgproj">
- <OSGroup>osx.10.10</OSGroup>
+ <OSGroup>osx.10</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Include="opensuse\13.2\runtime.native.System.IO.Compression.pkgproj">
<Platform>amd64</Platform>
</Project>
<Project Include="osx\runtime.native.System.Net.Http.pkgproj">
- <OSGroup>osx.10.10</OSGroup>
+ <OSGroup>osx.10</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Include="opensuse\13.2\runtime.native.System.Net.Http.pkgproj">
<Platform>amd64</Platform>
</Project>
<Project Include="osx\runtime.native.System.Net.Security.pkgproj">
- <OSGroup>osx.10.10</OSGroup>
+ <OSGroup>osx.10</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Include="opensuse\13.2\runtime.native.System.Net.Security.pkgproj">
<Platform>amd64</Platform>
</Project>
<Project Include="osx\runtime.native.System.Security.Cryptography.pkgproj">
- <OSGroup>osx.10.10</OSGroup>
+ <OSGroup>osx.10</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Include="opensuse\13.2\runtime.native.System.Security.Cryptography.pkgproj">
<Platform>amd64</Platform>
</Project>
<Project Include="osx\runtime.native.System.pkgproj">
- <OSGroup>osx.10.10</OSGroup>
+ <OSGroup>osx.10</OSGroup>
<Platform>amd64</Platform>
</Project>
<Project Include="opensuse\13.2\runtime.native.System.pkgproj">
OSName=$(uname -s)
case $OSName in
Darwin)
- # Darwin version can be three sets of digits (e.g. 10.10.3), we want just the first two
- DarwinVersion=$(sw_vers -productVersion | awk 'match($0, /[0-9]+\.[0-9]+/) { print substr($0, RSTART, RLENGTH) }')
+ # Darwin version can be three sets of digits (e.g. 10.10.3), we want just the first one
+ DarwinVersion=$(sw_vers -productVersion | awk 'match($0, /[0-9]+/) { print substr($0, RSTART, RLENGTH) }')
RuntimeOS=osx.$DarwinVersion
;;
FreeBSD|NetBSD)
# TODO this doesn't seem correct
- RuntimeOS=osx.10.10
+ RuntimeOS=osx.10
;;
Linux)