"IsLinuxDistroSpecific" was used only to decide whether to publish zip/tar files - changes to "PublishArchives" & includes RedHat 6 per 'DerivedHostMachineInfo.props'
"IslinuxPortable" was used to decide, among other things, whether to publish the installer packages - changes to "PublishNativeInstallers" & excludes RedHat 6 per 'DerivedHostMachineInfo.props'
* dotnet/release/2.0.0: (29 commits)
Updating the CLI branding to 2.0.3
Fixing merges.
Removing the trailing '\r' for bash shells; commit hash.
Removing the trailing '\r' for bash shells. https://github.com/dotnet/cli/issues/7392
Changing ItAddsFxVersionAsAParamWhenTheToolHasThePrefercliruntimeFile to expect 2.0.0 as the runtime version.
Fixing 'librarypath'
Update the installation scripts in release/2.0.0 branch.
Insert SDK 2.0.2-vspre-20170921-5
Insert SDK 2.0.2-vspre-20170915-1
MSBuild 15.4.7
Updating the websdk version to 2.0.0-rel-20170908-653
Insert NuGet Build 4.4.0-preview3-4475 into cli
Remove out of support ubuntu1610
Removing extra line feeds...
Turning on the NuPkg publishing from Win x86
The enumeration of the nupkg packages depends on that the creation of packages has already occurred.
Trivial change to start a VSO build
Push the 'VS.Redist.Common.Net.Core.SDK*.nupkg' packages to blob storage.
Remove EOL openSuSE 42.1
Trigger build
...
By using `./build.sh /t:AllLiuxDistrosNativeInstaller`
Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros.
After finishing all the distro specific packaging, upload all of them at once
Publish to debian only support all distro
Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox
There will be a retry if package command failed
Currently VSTS is producing duplicate package and they are running into
each other will producing
Today:
Linux x64 build definition: both .deb and .tar.gz
Ubuntu 16.04 build definition: both .deb and .tar.gz (ex.
dotnet-sdk-2.0.0-preview3-006477-linux-x64.tar.gz,
dotnet-sdk-debug-2.0.0-preview3-006477-linux-x64.tar.gz,
dotnet-sdk-internal-2.0.0-preview3-006477-linux-x64.tar.gz)
After this change:
Linux x64: .tar.gz
Ubuntu 16.04: .deb
No change for windows and macOS
Tested on Ubuntu with and without --linux-portable and windows