Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix double slash issue when uploading to intermediate blob storage
Browse files Browse the repository at this point in the history
While uploading to the intermediate blob storage we had 2 slashes
but while downloading only one so we ended up with different final
outputs. This change fixes the double slash for uploading.
  • Loading branch information
weshaggard committed Apr 6, 2018
1 parent f18b276 commit 6833f30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion publish/publish.proj
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@
<Error Condition="'$(AzureAccountName)' == ''" Text="Missing required property 'AzureAccountName'" />
<Error Condition="'$(ContainerName)' == ''" Text="Missing required property 'ContainerName'" />
<Error Condition="'$(RelativeBlobPath)' == ''" Text="Missing required property 'RelativeBlobPath'" />
<Error Condition="!HasTrailingSlash('$(RelativeBlobPath)')" Text="RelativeBlobPath is expected to have a trailing '/' - '$(RelativeBlobPath)'" />

<ItemGroup>
<ItemsToPublish Include="$(ItemsToPublish)" />
<ItemsToPublish>
<RelativeBlobPath>$(RelativeBlobPath)/%(Filename)%(Extension)</RelativeBlobPath>
<RelativeBlobPath>$(RelativeBlobPath)%(Filename)%(Extension)</RelativeBlobPath>
</ItemsToPublish>
</ItemGroup>

Expand Down

0 comments on commit 6833f30

Please sign in to comment.