Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions src/publish.proj
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
</ItemsToPush>
</ItemGroup>

<!-- create the container if it doesn't exist -->
<CreateAzureContainer AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<PushToBlobFeed Condition="'$(PublishFlatContainer)' == 'false'"
ExpectedFeedUrl="$(ExpectedFeedUrl)"
AccountKey="$(AccountKey)"
Expand All @@ -54,6 +48,13 @@
ManifestBranch="$(ManifestBranch)"
ManifestCommit="$(ManifestCommit)" />

<!-- create the container if it doesn't exist -->
<CreateAzureContainer Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
Expand All @@ -75,12 +76,6 @@
</ItemsToPush>
</ItemGroup>

<!-- create the container if it doesn't exist -->
<CreateAzureContainer AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<PushToBlobFeed Condition="'$(PublishFlatContainer)' == 'false'"
ExpectedFeedUrl="$(ExpectedFeedUrl)"
AccountKey="$(AccountKey)"
Expand All @@ -91,6 +86,13 @@
ManifestBranch="$(ManifestBranch)"
ManifestCommit="$(ManifestCommit)" />

<!-- create the container if it doesn't exist -->
<CreateAzureContainer Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
Expand All @@ -113,18 +115,19 @@
</ItemsToPush>
</ItemGroup>

<!-- create the container if it doesn't exist -->
<CreateAzureContainer AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<PushToBlobFeed Condition="'$(PublishFlatContainer)' == 'false'"
ExpectedFeedUrl="$(ExpectedFeedUrl)"
AccountKey="$(AccountKey)"
ItemsToPush="@(ItemsToPush)"
Overwrite="$(OverwriteOnPublish)" />

<!-- create the container if it doesn't exist -->
<CreateAzureContainer Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
AccountName="$(AccountName)"
ContainerName="$(ContainerName)"
IsPublic="true" />

<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
Expand Down