Fix publishing on windows/debug

This commit is contained in:
Ryan Nowak 2018-12-18 14:42:01 -08:00
Родитель 74bc4be244
Коммит 64b1c2d0ba
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -3,7 +3,7 @@ variables:
_TeamName: AspNetCore
_DotNetPublishToBlobFeed : false
_PublishBlobFeedUrl: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
_PublishArgs: ''
_PublishArgs: '/p:PublishToSymbolServer=false /p:PublishToAzure=false'
# Variables for public PR builds
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'github')) }}:
@ -60,6 +60,7 @@ phases:
_PublishArgs: /p:PublishToSymbolServer=true
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
/p:PublishToAzure=true
/p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
/p:DotNetPublishBlobFeedUrl=$(_PublishBlobFeedUrl)
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)