Skip to content

Commit

Permalink
[Build] Added option XenkoPublishSkipSamplesTemplates
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Jan 12, 2019
1 parent 94cb4b1 commit dffa6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/Xenko.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Example of use:
<NuGetPackage Include="..\bin\packages\*.nupkg"/>
<!-- Remove GameStudio (pushed in a second stage) -->
<NuGetPackage Remove="@(NuGetPackage)" Condition="$([System.String]::Copy('%(Filename)').Contains('Xenko.GameStudio'))"/>
<!-- Remove Samples.Templates (pushed only when requested since versionned separately -->
<NuGetPackage Remove="@(NuGetPackage)" Condition="'$(XenkoPublishSkipSamplesTemplates)' == 'true' And $([System.String]::Copy('%(Filename)').Contains('Xenko.Samples.Templates'))"/>
</ItemGroup>
<Exec Command='"$(NuGetPath)" push %(NuGetPackage.Identity) -ApiKey $(XenkoStoreApiKey) -Source $(XenkoStoreUrl) -Timeout 1800 '/>
<!-- Push GameStudio so that dependencies are already uploaded -->
Expand Down

0 comments on commit dffa6ee

Please sign in to comment.