You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update bootstrap scripts to use params for source-build and s-b-r-p build.sh (#1476)
* Update bootstrap scripts to use params for source-build build.sh and
source-build-reference-packages build.sh
* Update CI to work with updated bootstrap script
* Fix cleanup of reference packages
* Enable smoke-test-prereqs in bootstrapping final SDK smoke tests.
LogMessage "Extract .NET Core SDK from $stage1Dir/bin/x64/Release/dotnet-sdk-3*.tar.gz to $finalSdkDir/.dotnet/"
158
-
if [ -d"$finalSdkDir/.dotnet/" ];then
159
-
rm -rf $finalSdkDir/.dotnet/
160
-
fi
161
-
mkdir $finalSdkDir/.dotnet/
162
-
tar -xzf $stage1Dir/bin/x64/Release/dotnet-sdk-3*.tar.gz --directory $finalSdkDir/.dotnet/
163
-
164
-
LogMessage "Copy reference packages from $refPkgsDir/artifacts/Private.SourceBuild.ReferencePackages.bootstrap.tar.gz to $finalSdkDir/packages/archive"
sed -i "s|\(\"Microsoft.DotNet.Arcade.Sdk\": \"\)[^\"]*\"|\1$arcadeVer\"|g"$finalSdkDir/global.json
173
-
174
-
sdkVer=$(ls $finalSdkDir/.dotnet/sdk)
175
-
LogMessage " Sdk version = [$sdkVer]"
176
-
sed -i "s|\"dotnet\": \".*|\"dotnet\": \"$sdkVer\"|g"$finalSdkDir/global.json
135
+
LogMessage "Install previously source-built archive from $stage1Dir/bin/x64/Release/Private.SourceBuilt.Artifacts*.tar.gz to $stage1SourceBuiltArtifactsInstallDir"
136
+
mkdir -p $stage1SourceBuiltArtifactsInstallDir
137
+
tar -xzf $stage1Dir/bin/x64/Release/Private.SourceBuilt.Artifacts*.tar.gz --directory $stage1SourceBuiltArtifactsInstallDir
0 commit comments