-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated build pipeline to use .NET Core 3.1 sdk. (#83)
* Updated build pipeline to use .NET Core 3.1 sdk. Use powershell core built into .NET Core Updated build script to no longer specify an output path. Specifying an output path for a project that targets multiple frameworks causes the binaries to overwrite each other. This results in a broken build. Updated build scripts to use whatever version of PowerShell is available in the build environment. * Removed unused variable. * Reversed order of PowerShell selection.
- Loading branch information
Showing
7 changed files
with
44 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
call %~dp0build\InstallPowerShellCore.cmd | ||
call %~dp0build\ChoosePowerShell.cmd | ||
|
||
%PowerShellCore% "%~dp0build.ps1" %* | ||
IF %ERRORLEVEL% NEQ 0 ( | ||
|
||
exit /B 1 | ||
) | ||
|
||
%PowerShell% "%~dp0build.ps1" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
:: where.exe does not exist in windows container, application specific test must be used to check for existence | ||
|
||
pwsh -Command Write-Host "a" | ||
|
||
IF %ERRORLEVEL% == 0 ( | ||
|
||
set PowerShell=pwsh | ||
|
||
exit /B 0 | ||
) | ||
|
||
PowerShell -Command Write-Host "a" | ||
|
||
IF %ERRORLEVEL% == 0 ( | ||
|
||
set PowerShell=PowerShell | ||
|
||
exit /B 0 | ||
) | ||
|
||
echo Could not find a suitable PowerShell executable. | ||
|
||
EXIT /B 1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
call %~dp0build\InstallPowerShellCore.cmd | ||
call %~dp0build\ChoosePowerShell.cmd | ||
|
||
%PowerShellCore% "%~dp0pack.ps1" %* | ||
IF %ERRORLEVEL% NEQ 0 ( | ||
|
||
exit /B 1 | ||
) | ||
|
||
%PowerShell% "%~dp0pack.ps1" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters