Skip to content

Commit

Permalink
Adding the properties used to push symbol packages via NuGet
Browse files Browse the repository at this point in the history
references #90
  • Loading branch information
pvandervelde committed May 4, 2015
1 parent 0c38e31 commit 2c00fe3
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions src/msbuild/samples/settings.props
Expand Up @@ -1351,25 +1351,6 @@
*************************************
-->

<!--
**** DEPLOY - GENERAL ****
-->
<PropertyGroup>
<!--
The following properties have to be defined on via an environment variable (either local to the process that
executes the build, or global to the user):
- When pushing packages via NuGet
NuGetApiKey - The NuGet API key for the NuGet feed
-->

<!-- The URL to which all NuGet packages should be pushed. By default it pushes to nuget.org -->
<NuGetSourceUrl Condition=" '$(NuGetSourceUrl)' == '' ">UNDEFINED</NuGetSourceUrl>

<!-- The URL / UNC path to which all the symbol packages should be pushed. -->
<SymbolServerUrl Condition=" '$(SymbolServerUrl)' == '' ">UNDEFINED</SymbolServerUrl>
</PropertyGroup>


<!--
**** DEPLOY STEPS ****
-->
Expand Down Expand Up @@ -1482,6 +1463,14 @@
<!--
**** PUSHTO - NUGET ****
-->
<PropertyGroup>
<!--
The URL to which all NuGet packages should be pushed. By default it pushes to nuget.org.
If the repository needs authentication then the API key should be defined via an environment variable:
NuGetApiKey - The NuGet API key for the NuGet feed
-->
<NuGetSourceUrl Condition=" '$(NuGetSourceUrl)' == '' ">UNDEFINED</NuGetSourceUrl>
</PropertyGroup>
<!--
The ItemGroup defining which packages should be pushed up to the NuGet package source.
Allows build templates, e.g. $(DirBuildDeploy)\${VersionSemantic}\*.nupkg.
Expand All @@ -1499,6 +1488,19 @@
The ItemGroup defining which symbol packages should be pushed up to the symbol server.
Allows build templates, e.g. $(DirBuildDeploy)\${VersionSemantic}\*.symbols.nupkg.
-->
<PropertyGroup>
<!--
The URL to which all NuGet symbol packages should be pushed. If the repository needs authentication then
the API key should be defined via an environment variable:
NuGetApiKey - The NuGet API key for the NuGet feed
-->
<NuGetSymbolSourceUrl Condition=" '$(NuGetSymbolSourceUrl)' == '' ">UNDEFINED</NuGetSymbolSourceUrl>

<!--
The URL / UNC path to which all the symbol packages should be pushed.
-->
<SymbolServerUncPath Condition=" '$(SymbolServerUncPath)' == '' ">UNDEFINED</SymbolServerUncPath>
</PropertyGroup>
<ItemGroup>
<SymbolPackagesToPush Include="$(DirBuildDeploy)\*.symbols.nupkg" />
</ItemGroup>
Expand Down

0 comments on commit 2c00fe3

Please sign in to comment.