summaryrefslogtreecommitdiff
path: root/src/publish.proj
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-11-07 10:34:02 -0800
committerWes Haggard <Wes.Haggard@microsoft.com>2017-11-07 10:34:02 -0800
commita66c0ed6b7cb970fef7171956e3e1cb9370a47d9 (patch)
treeba5bf0afde5a456bcc500778d50b20268b103495 /src/publish.proj
parent3da762643392e791ddd8412cbf29ff959d9cc406 (diff)
downloadcoreclr-a66c0ed6b7cb970fef7171956e3e1cb9370a47d9.tar.gz
coreclr-a66c0ed6b7cb970fef7171956e3e1cb9370a47d9.tar.bz2
coreclr-a66c0ed6b7cb970fef7171956e3e1cb9370a47d9.zip
Always attempt to create container to ensure it exists
Diffstat (limited to 'src/publish.proj')
-rw-r--r--src/publish.proj33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/publish.proj b/src/publish.proj
index 177acad1b3..c93e01be09 100644
--- a/src/publish.proj
+++ b/src/publish.proj
@@ -33,17 +33,18 @@
<RelativeBlobPath>$(RelativePathWithSlash)$([System.String]::Copy('%(RecursiveDir)%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
</ItemsToPush>
</ItemGroup>
+
+ <!-- create the container if it doesn't exist -->
+ <CreateAzureContainer AccountKey="$(AccountKey)"
+ AccountName="$(AccountName)"
+ ContainerName="$(ContainerName)" />
+
<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)" />
<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
@@ -64,17 +65,18 @@
<RelativeBlobPath>$(RelativePathWithSlash)$([System.String]::Copy('%(RecursiveDir)%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
</ItemsToPush>
</ItemGroup>
+
+ <!-- create the container if it doesn't exist -->
+ <CreateAzureContainer AccountKey="$(AccountKey)"
+ AccountName="$(AccountName)"
+ ContainerName="$(ContainerName)" />
+
<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)" />
<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"
@@ -96,17 +98,18 @@
<RelativeBlobPath>$(RelativePath)/$([System.String]::Copy('%(RecursiveDir)%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
</ItemsToPush>
</ItemGroup>
+
+ <!-- create the container if it doesn't exist -->
+ <CreateAzureContainer AccountKey="$(AccountKey)"
+ AccountName="$(AccountName)"
+ ContainerName="$(ContainerName)" />
+
<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)" />
<!-- now upload the items -->
<UploadToAzure Condition="'$(PublishFlatContainer)' == 'true'"
AccountKey="$(AccountKey)"