From cb51f15fed6b9ce19690d19f7a205134a189e01f Mon Sep 17 00:00:00 2001 From: lukeIam Date: Wed, 14 Oct 2015 17:13:26 +0200 Subject: [PATCH] Improoved logging --- .appveyor/gitDescribe.ps1 | 4 ++-- .appveyor/moveTagForSpecialBranches.ps1 | 4 ++-- .appveyor/prepareDeploy.ps1 | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.appveyor/gitDescribe.ps1 b/.appveyor/gitDescribe.ps1 index e64898ce..d64de51b 100644 --- a/.appveyor/gitDescribe.ps1 +++ b/.appveyor/gitDescribe.ps1 @@ -29,7 +29,7 @@ catch [System.Net.WebException] # Error getting tags $statusCode = [int]$_.Exception.Response.StatusCode $html = $_.Exception.Response.StatusDescription - Write-Host "Error getting tags ($html)" + Write-Host "Error getting info for tags ($html)" Return ; } @@ -42,7 +42,7 @@ catch [System.Net.WebException] # Error comparing tags $statusCode = [int]$_.Exception.Response.StatusCode $html = $_.Exception.Response.StatusDescription - Write-Host "Error comparing tags ($html)" + Write-Host "Error comparing tags with current commit ($html)" Return ; } diff --git a/.appveyor/moveTagForSpecialBranches.ps1 b/.appveyor/moveTagForSpecialBranches.ps1 index ddb278ac..78f3dac2 100644 --- a/.appveyor/moveTagForSpecialBranches.ps1 +++ b/.appveyor/moveTagForSpecialBranches.ps1 @@ -4,7 +4,7 @@ if($Env:APPVEYOR_REPO_TAG -ne "true") { $Env:NIGHTLY_BUILD = true } else{ - Write-Host "No tag or special branch found" + Write-Host "No special branch found" Return } git config --global user.email "build@vocaluxe.de"; @@ -12,5 +12,5 @@ if($Env:APPVEYOR_REPO_TAG -ne "true") { git tag "$targetTag" -f; git push -q -f "https://$($Env:GitHubKey):x-oauth-basic@github.com/lukeIam/Vocaluxe.git" "$targetTag"; - Write-Host "Branch $Env:APPVEYOR_REPO_BRANCH -> Tag=$targetTag" + Write-Host "Tag $targetTag points now to the head of branch $Env:APPVEYOR_REPO_BRANCH" } \ No newline at end of file diff --git a/.appveyor/prepareDeploy.ps1 b/.appveyor/prepareDeploy.ps1 index bf506be5..32eae62d 100644 --- a/.appveyor/prepareDeploy.ps1 +++ b/.appveyor/prepareDeploy.ps1 @@ -22,7 +22,7 @@ catch [System.Net.WebException] # No Release found for this tag $statusCode = [int]$_.Exception.Response.StatusCode $html = $_.Exception.Response.StatusDescription - Write-Host "No Release found for this tag ($html)" + Write-Host "No Release found for this tag ($html): $($Env:APPVEYOR_REPO_TAG_NAME)" Return; } @@ -44,14 +44,14 @@ $deleteAssetParams = @{ } try{ $result = Invoke-RestMethod @deleteAssetParams - Write-Host "Successfully deleted asset" + Write-Host "Successfully deleted asset: Vocaluxe_$($Env:APPVEYOR_REPO_TAG_NAME)_Windows_$($Env:PLATFORM).zip" } catch [System.Net.WebException] { # Could not delete asset $statusCode = [int]$_.Exception.Response.StatusCode $html = $_.Exception.Response.StatusDescription - Write-Host "Could not delete asset ($html)" + Write-Host "Could not delete asset ($html): Vocaluxe_$($Env:APPVEYOR_REPO_TAG_NAME)_Windows_$($Env:PLATFORM).zip" Return; } \ No newline at end of file