fix up casing of PS1 environment variables
This commit is contained in:
parent
78ccff9d50
commit
fa9a9dc7b4
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ New-Item -ItemType Directory -Force -Path $IntermediatePackagesDir
|
||||||
foreach ($ProjectName in $ProjectsToPack) {
|
foreach ($ProjectName in $ProjectsToPack) {
|
||||||
$ProjectFile = "$RepoRoot\src\$ProjectName\project.json"
|
$ProjectFile = "$RepoRoot\src\$ProjectName\project.json"
|
||||||
|
|
||||||
& $toolsDir\dotnet pack "$ProjectFile" --no-build --build-base-path "$Stage2CompilationDir\forPackaging" --output "$IntermediatePackagesDir" --configuration "$Configuration" $versionArg $versionSuffix
|
& $toolsDir\dotnet pack "$ProjectFile" --no-build --build-base-path "$Stage2CompilationDir\forPackaging" --output "$IntermediatePackagesDir" --configuration "$env:CONFIGURATION" $versionArg $versionSuffix
|
||||||
if (!$?) {
|
if (!$?) {
|
||||||
Write-Host "$toolsDir\dotnet pack failed for: $ProjectFile"
|
Write-Host "$toolsDir\dotnet pack failed for: $ProjectFile"
|
||||||
Exit 1
|
Exit 1
|
||||||
|
|
|
@ -27,4 +27,4 @@ $env:Channel = "$env:RELEASE_SUFFIX"
|
||||||
setEnvIfDefault "DOTNET_INSTALL_DIR" "$RepoRoot\.dotnet_stage0\win7-x64"
|
setEnvIfDefault "DOTNET_INSTALL_DIR" "$RepoRoot\.dotnet_stage0\win7-x64"
|
||||||
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
||||||
setPathAndHomeIfDefault "$Stage2Dir"
|
setPathAndHomeIfDefault "$Stage2Dir"
|
||||||
setVarIfDefault "Configuration" "Debug"
|
setVarIfDefault "CONFIGURATION" "Debug"
|
||||||
|
|
|
@ -142,7 +142,7 @@ function UploadInstallers($installerFile)
|
||||||
|
|
||||||
function UploadVersionBadge($badgeFile)
|
function UploadVersionBadge($badgeFile)
|
||||||
{
|
{
|
||||||
$fileName = "windows_$($Configuration)_$([System.IO.Path]::GetFileName($badgeFile))"
|
$fileName = "windows_$($env:CONFIGURATION)_$([System.IO.Path]::GetFileName($badgeFile))"
|
||||||
|
|
||||||
Write-Host "Uploading the version badge to Latest"
|
Write-Host "Uploading the version badge to Latest"
|
||||||
UploadFile "$env:CHANNEL/Binaries/Latest/$fileName" $badgeFile
|
UploadFile "$env:CHANNEL/Binaries/Latest/$fileName" $badgeFile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue