Simplify the 'index.json' removal.
This commit is contained in:
parent
aa458eca82
commit
6d9130dc61
1 changed files with 2 additions and 9 deletions
|
@ -8,20 +8,13 @@
|
|||
<Output TaskParameter="BlobElements" ItemName="BlobElements" />
|
||||
</ParseBlobUrl>
|
||||
|
||||
<PropertyGroup>
|
||||
<PublishBlobFeedUrlBlobPath>%(BlobElements.BlobPath)</PublishBlobFeedUrlBlobPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<RegexReplace Input="$(PublishBlobFeedUrlBlobPath)" Expression="index.json" Replacement="" Count="1">
|
||||
<Output TaskParameter="Output" ItemName="BlobPath" />
|
||||
</RegexReplace>
|
||||
|
||||
<PropertyGroup>
|
||||
<ArtifactContainerName>%(BlobElements.ContainerName)</ArtifactContainerName>
|
||||
<ChecksumContainerName>%(BlobElements.ContainerName)</ChecksumContainerName>
|
||||
<ArtifactCloudDropAccountName>%(BlobElements.AccountName)</ArtifactCloudDropAccountName>
|
||||
<ChecksumCloudDropAccountName>%(BlobElements.AccountName)</ChecksumCloudDropAccountName>
|
||||
<BlobStoragePartialRelativePath>%(BlobPath)assets</BlobStoragePartialRelativePath>
|
||||
<PublishBlobFeedUrlBlobPath>%(BlobElements.BlobPath)</PublishBlobFeedUrlBlobPath>
|
||||
<BlobStoragePartialRelativePath>$(PublishBlobFeedUrlBlobPath.Replace('/index.json', ''))/assets</BlobStoragePartialRelativePath>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue