Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7542396

Browse files
authored
Merge pull request #3874 from brettfo/blob-publish
enable publishing NuGet packages to an Azure Blob feed
2 parents26b66fb +9fadedb commit7542396

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

‎PublishToBlob.proj‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Project>
2+
3+
<!--
4+
5+
This is for the internal orchestrated build scenarios and will likely never be run on a
6+
developer's machine. The official build definition builds this file directly.
7+
8+
-->
9+
10+
<PropertyGroup>
11+
<FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
12+
<!-- This version should be kept in sync with `packages.config`-->
13+
<FeedTasksPackageVersion>1.0.0-prerelease-02121-01</FeedTasksPackageVersion>
14+
</PropertyGroup>
15+
16+
<ImportProject="$(MSBuildThisFileDirectory)packages\$(FeedTasksPackage).$(FeedTasksPackageVersion)\build\$(FeedTasksPackage).targets" />
17+
18+
<ItemGroup>
19+
<ItemsToPushInclude="$(MSBuildThisFileDirectory)artifacts\**\*.nupkg" />
20+
</ItemGroup>
21+
22+
<TargetName="Build">
23+
<PushToBlobFeedExpectedFeedUrl="$(ExpectedFeedUrl)"
24+
AccountKey="$(AccountKey)"
25+
ItemsToPush="@(ItemsToPush)"
26+
Overwrite="$(PublishOverwrite)" />
27+
</Target>
28+
29+
</Project>

‎packages.config‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<packageid="MicroBuild.Core"version="0.2.0" />
1212
<packageid="MicroBuild.Core.Sentinel"version="1.0.0" />
1313

14+
<!-- For the internal orchestrated build. This version should be kept in sync with `PublishToBlob.proj`-->
15+
<packageid="Microsoft.DotNet.Build.Tasks.Feed"version="1.0.0-prerelease-02121-01" />
16+
1417
<!-- Actual dependencies of FSharp.Compiler.dll and FSharp.Core.dll-->
1518
<packageid="System.Collections.Immutable"version="1.3.1" />
1619
<packageid="System.Reflection.Metadata"version="1.4.2" />

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp