File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,20 @@ param (
1616 [switch ] $useGitHubDotNetTracerWindowsDownloadUrl ,
1717 [string ] $version = ' 1.0.0' ,
1818 [string ] $versionForDotNetTracerWindowsDownloadUrl = ' 1.0.0' ,
19- [string ] $releaseDate = ([DateTime ]::Now.ToShortDateString())
19+ [string ] $releaseDate = ([DateTime ]::Now.ToShortDateString()),
20+ [switch ] $skipDotNetCoreInstall
2021)
2122
2223Set-PSDebug - Strict
2324$ErrorActionPreference = ' Stop'
2425$VerbosePreference = ' Continue'
2526
27+ if (-not $skipDotNetCoreInstall ) {
28+ $file = ([io.path ]::gettemppath())+ ' .ps1'
29+ Invoke-WebRequest - Uri ' https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.ps1' - OutFile $file
30+ & $file - Channel 3.1
31+ }
32+
2633$dotNetTracerWindowsDownloadUrl = " https://ci.appveyor.com/api/buildjobs/VERSION_NUMBER_FOR_DOWNLOAD/artifacts/installers/CodePulse-DotNetTracer-$version -Windows.zip"
2734if ($useGitHubDotNetTracerWindowsDownloadUrl ) {
2835 $dotNetTracerWindowsDownloadUrl = " https://github.com/codedx/codepulse/releases/download/vVERSION_NUMBER_FOR_DOWNLOAD/CodePulse-DotNetTracer-$version -Windows.zip"
@@ -81,4 +88,4 @@ if (-not $skipLinux) {
8188 }
8289}
8390
84- Pop-Location
91+ Pop-Location
You can’t perform that action at this time.
0 commit comments