File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,7 @@ $apiConfig = [xml](Get-Content $webConfig)
5454$apiConfig.SelectSingleNode (' //appSettings/add[@key="BaseURL"]/@value' ).' #text' = ' http://localhost:50000/#'
5555$apiConfig.SelectSingleNode (' //appSettings/add[@key="EnableDailySummary"]/@value' ).' #text' = ' true'
5656$apiConfig.SelectSingleNode (' //system.web/compilation/@debug' ).' #text' = ' false'
57- $customErrors = $apiConfig.CreateElement (" customErrors" )
58- $customErrors.SetAttribute (' mode' , ' RemoteOnly' )
59- $apiConfig.SelectSingleNode (' //configuration/system.web' ).AppendChild($customErrors )
57+ $apiConfig.SelectSingleNode (' //system.web/customErrors/@mode' ).' #text' = ' RemoteOnly'
6058
6159# Copy settings from app web.config
6260$appConfig = [xml ](Get-Content " $releaseArtifactsDir \app\web.config" )
@@ -71,4 +69,6 @@ If (Test-Path -Path "$releaseDir\Exceptionless.$($env:APPVEYOR_BUILD_VERSION).zi
7169}
7270
7371Add-Type - assembly " system.io.compression.filesystem"
74- [io.compression.zipfile ]::CreateFromDirectory($releaseTempDir , " $releaseDir \Exceptionless.$ ( $env: APPVEYOR_BUILD_VERSION ) .zip" )
72+ [io.compression.zipfile ]::CreateFromDirectory($releaseTempDir , " $releaseDir \Exceptionless.$ ( $env: APPVEYOR_BUILD_VERSION ) .zip" )
73+
74+ Get-ChildItem .\release\* .zip | % { Push-AppveyorArtifact $_.FullName - FileName $_.Name - DeploymentName ReleaseArtifacts }
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ artifacts:
4747
4848before_deploy :
4949 - ps : .\Libraries\Create-Release.ps1
50- - ps : Get-ChildItem .\release\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName ReleaseArtifacts }
51-
50+
5251deploy :
5352 provider : GitHub
5453 auth_token :
You can’t perform that action at this time.
0 commit comments