Skip to content

Commit

Permalink
Adding the proj file for publishing the nuget packages to dotnet net …
Browse files Browse the repository at this point in the history
…feed. (#2198)
  • Loading branch information
singhsarab committed Sep 26, 2019
1 parent 33a2be6 commit 6b96f5b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/package/publish/build.proj
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Feed" Version="2.1.0-preview2-02522-03" />
<ToPublish Include="$(PackagePublishGlob)" />
</ItemGroup>

<Target Name="PublishToCentralBlobFeed">
<PushToBlobFeed
ExpectedFeedUrl="$(CentralBlobFeedUrl)"
AccountKey="$(AccountKey)"
ItemsToPush="@(ToPublish)"
PassIfExistingItemIdentical="$(PassIfExistingItemIdentical)"
Overwrite="$(OverwriteCentralBlobFeed)" />
</Target>
</Project>

0 comments on commit 6b96f5b

Please sign in to comment.