diff --git a/cibuild.sh b/cibuild.sh index 50f73db6e77..09f72b96276 100755 --- a/cibuild.sh +++ b/cibuild.sh @@ -99,6 +99,10 @@ get_current_linux_name() { echo "centos" return 0 elif [ "$(cat /etc/*-release | grep -cim1 rhel)" -eq 1 ]; then + if [ "$(cat /etc/os-release | grep -cim1 'VERSION_ID="7\.')" -eq 1 ]; then + echo "rhel.7" + return 0 + fi echo "rhel" return 0 elif [ "$(cat /etc/*-release | grep -cim1 debian)" -eq 1 ]; then diff --git a/targets/roslyn/project.json b/targets/roslyn/project.json index 89528e0547e..8c0407e8767 100644 --- a/targets/roslyn/project.json +++ b/targets/roslyn/project.json @@ -3,6 +3,7 @@ "win7-x86": {}, "win7-x64": {}, "osx.10.10-x64": {}, + "rhel.7-x64": {}, "ubuntu.14.04-x64": {}, "ubuntu.16.04-x64": {} }, diff --git a/targets/runtimeDependencies/project.json b/targets/runtimeDependencies/project.json index 9b8427cb4e1..77332985ee2 100644 --- a/targets/runtimeDependencies/project.json +++ b/targets/runtimeDependencies/project.json @@ -3,6 +3,7 @@ "win7-x86": {}, "win7-x64": {}, "osx.10.10-x64": {}, + "rhel.7-x64": {}, "ubuntu.14.04-x64": {}, "ubuntu.16.04-x64": {} },