8000 Prettify build output · leoniDEV/libgit2sharp@61fdbed · GitHub
[go: up one dir, main page]

Skip to content

Commit 61fdbed

Browse files
committed
Prettify build output
1 parent f59d586 commit 61fdbed

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

appveyor.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,18 @@ matrix:
2626

2727
install:
2828
- ps: |
29-
Write-Host "Commit being built = $Env:APPVEYOR_REPO_COMMIT"
30-
Write-Host "Current build version = $Env:VERSION"
31-
Write-Host "Target branch = $Env:APPVEYOR_REPO_BRANCH"
32-
Write-Host "Is a Pull Request = $($Env:APPVEYOR_PULL_REQUEST_NUMBER -ne $null)"
29+
Write-Host "Commit being built = " -NoNewLine
30+
Write-Host $Env:APPVEYOR_REPO_COMMIT -ForegroundColor "Green"
31+
Write-Host "Current build version = " -NoNewLine
32+
Write-Host $Env:VERSION -ForegroundColor "Green"
33+
Write-Host "Target branch = " -NoNewLine
34+
Write-Host $Env:APPVEYOR_REPO_BRANCH -ForegroundColor "Green"
35+
Write-Host "Is a Pull Request = " -NoNewLine
36+
Write-Host $($Env:APPVEYOR_PULL_REQUEST_NUMBER -ne $null) -ForegroundColor "Green"
3337
3438
$BuildDate = (Get-Date).ToUniversalTime().ToString("yyyyMMddHHmmss")
35-
Write-Host "Build UTC date = $BuildDate"
39+
Write-Host "Build UTC date = " -NoNewLine
40+
Write-Host $BuildDate -ForegroundColor "Green"
3641
3742
$VersionSuffix = ""
3843
If ($Env:APPVEYOR_REPO_BRANCH -ne "master")
@@ -41,14 +46,17 @@ install:
4146
}
4247
$Version = "$($Env:VERSION)$($VersionSuffix)"
4348
$Env:ASSEMBLY_INFORMATIONAL_VERSION = $Version
44-
Write-Host "Assembly informational version = $Env:ASSEMBLY_INFORMATIONAL_VERSION"
49+
Write-Host "Assembly informational version = " -NoNewLine
50+
Write-Host $Env:ASSEMBLY_INFORMATIONAL_VERSION -ForegroundColor "Green"
4551
4652
$ShouldPublishNugetArtifact = $($Env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
4753
$Env:SHOULD_PUBLISH_NUGET_ARTIFACT = $ShouldPublishNugetArtifact
48-
Write-Host "Should publish Nuget artifact = $Env:SHOULD_PUBLISH_NUGET_ARTIFACT"
54+
Write-Host "Should publish Nuget artifact = " -NoNewLine
55+
Write-Host $Env:SHOULD_PUBLISH_NUGET_ARTIFACT -ForegroundColor "Green"
4956
5057
$Env:SHOULD_PUBLISH_COVERITY_ANALYSIS = $($Env:APPVEYOR_SCHEDULED_BUILD -eq $True)
51-
Write-Host "Should publish Coverity analysis = $Env:SHOULD_PUBLISH_COVERITY_ANALYSIS"
58+
Write-Host "Should publish Coverity analysis = " -NoNewLine
59+
Write-Host $Env:SHOULD_PUBLISH_COVERITY_ANALYSIS -ForegroundColor "Green"
5260
5361
cinst sourcelink -y
5462

0 commit comments

Comments
 (0)
0