From: Jose Perez Rodriguez Date: Fri, 27 May 2016 21:24:57 +0000 (-0700) Subject: Adding commit hash to all built binaries. X-Git-Tag: accepted/tizen/base/20180629.140029~4499^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1b55782add73bc175d050569f67cef87909ed54;p=platform%2Fupstream%2Fcoreclr.git Adding commit hash to all built binaries. --- diff --git a/BuildToolsVersion.txt b/BuildToolsVersion.txt index 2f83d6d..a5c2101 100644 --- a/BuildToolsVersion.txt +++ b/BuildToolsVersion.txt @@ -1 +1 @@ -1.0.25-prerelease-00419-02 +1.0.25-prerelease-00427-02 diff --git a/DotnetCLIVersion.txt b/DotnetCLIVersion.txt index 34a7239..dd7bc31 100644 --- a/DotnetCLIVersion.txt +++ b/DotnetCLIVersion.txt @@ -1 +1 @@ -1.0.0-beta-002173 \ No newline at end of file +1.0.0-preview2-002733 \ No newline at end of file diff --git a/init-tools.cmd b/init-tools.cmd index 669e6a0..abc34f9 100644 --- a/init-tools.cmd +++ b/init-tools.cmd @@ -45,7 +45,7 @@ echo Installing dotnet cli... if NOT exist "%DOTNET_PATH%" mkdir "%DOTNET_PATH%" set /p DOTNET_VERSION=< "%~dp0DotnetCLIVersion.txt" set DOTNET_ZIP_NAME=dotnet-dev-win-x64.%DOTNET_VERSION%.zip -set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME% +set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME% set DOTNET_LOCAL_PATH=%DOTNET_PATH%%DOTNET_ZIP_NAME% echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> "%INIT_TOOLS_LOG%" powershell -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $false; do { try { (New-Object Net.WebClient).DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); $success = $true; } catch { if ($retryCount -ge 6) { throw; } else { $retryCount++; Start-Sleep -Seconds (5 * $retryCount); } } } while ($success -eq $false); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%" diff --git a/init-tools.sh b/init-tools.sh index 2d20cd4..f10da60 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -75,7 +75,7 @@ if [ "$OS"=="OSX" ]; then ulimit -n 2048 fi -__CLIDownloadURL=https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.${__DOTNET_TOOLS_VERSION}.tar.gz +__CLIDownloadURL=https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.${__DOTNET_TOOLS_VERSION}.tar.gz echo ".NET CLI will be downloaded from $__CLIDownloadURL" echo "Locating $__PROJECT_JSON_FILE to see if we already downloaded .NET CLI tools..."