diff options
author | wtgodbe <wigodbe@microsoft.com> | 2017-08-28 13:14:52 -0700 |
---|---|---|
committer | wtgodbe <wigodbe@microsoft.com> | 2017-10-10 17:31:48 -0700 |
commit | 978a6dc612e3ccbeb5222df24971f0ba70518aff (patch) | |
tree | fe2f8908d730ef4c29ccc271a0e5f1f76aba299b /src/syncAzure.proj | |
parent | 4c2e60f9fe57e1401410df9ee55dde673e11ff7e (diff) | |
download | coreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.tar.gz coreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.tar.bz2 coreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.zip |
Proof-of-concept of using new Publish infra in coreclr
Diffstat (limited to 'src/syncAzure.proj')
-rw-r--r-- | src/syncAzure.proj | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/syncAzure.proj b/src/syncAzure.proj index 14baa2622e..c5360d77f5 100644 --- a/src/syncAzure.proj +++ b/src/syncAzure.proj @@ -3,13 +3,9 @@ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <PropertyGroup> - <ContainerNamePrefix Condition="'$(ContainerNamePrefix)' == ''">coreclr-$(PreReleaseLabel)</ContainerNamePrefix> - <ContainerName Condition="'$(__Container)' == '' and '$(ContainerNamePrefix)' != '' and '$(BuildNumberMajor)' != '' and '$(BuildNumberMinor)' != ''">$(ContainerNamePrefix)-$(BuildNumberMajor)-$(BuildNumberMinor)</ContainerName> - <ContainerName Condition="'$(__Container)' != ''">$(__Container)</ContainerName> <ContainerName>$(ContainerName.Replace(".","-"))</ContainerName> <BlobNamePrefix>$(__BlobNamePrefix)</BlobNamePrefix> - <DownloadDirectory Condition="'$(PublishTestNativeBins)' != 'true'">$(PackagesDir)AzureTransfer</DownloadDirectory> - <DownloadDirectory Condition="'$(PublishTestNativeBins)' == 'true'">$(PackagesDir)TestNativeBins\$(RuntimeId)</DownloadDirectory> + <DownloadDirectory Condition="'$(DownloadDirectory)' == ''">$(PackagesDir)AzureTransfer</DownloadDirectory> </PropertyGroup> <Import Project="$(ToolsDir)SyncCloudContent.targets" /> @@ -17,10 +13,10 @@ <Target Name="ValidateRequiredProperties"> <Error Condition="'$(CloudDropAccountName)' == ''" Text="Missing property CloudDropAccountName." /> <Error Condition="'$(CloudDropAccessToken)' == ''" Text="Missing property CloudDropAccessToken." /> - <Error Condition="'$(__Container)' == '' and '$(PublishTestNativeBins)' == 'true'" Text="Missing property Container." /> + <Error Condition="'$(ContainerName)' == '' and '$(PublishTestNativeBins)' == 'true'" Text="Missing property Container." /> <Error Condition="'$(RuntimeId)' == '' and '$(PublishTestNativeBins)' == 'true'" Text="Missing property RuntimeId." /> </Target> <!-- We don't want to run sync on test native binaries for Windows, since those don't get published --> - <Target Name="Build" DependsOnTargets="ValidateRequiredProperties;DownloadBlobsFromAzureTargets" Condition="'$(PublishTestNativeBins)' != 'true' or !$(RuntimeId.ToLower().StartsWith('win'))"/> + <Target Name="Build" DependsOnTargets="ValidateRequiredProperties;DownloadBlobsFromAzureTargets" Condition="!$(RuntimeId.ToLower().StartsWith('win'))"/> </Project>
\ No newline at end of file |