2016-10-12 19:25:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<Target Name="FinishBuild"
|
2018-01-17 02:36:50 +00:00
|
|
|
Condition="'$(IsNotOrchestratedPublish)' == 'true'"
|
2018-01-17 02:52:59 +00:00
|
|
|
DependsOnTargets="CheckIfAllBuildsHavePublished;
|
2016-10-12 19:25:06 +00:00
|
|
|
FinalizeBuild" />
|
|
|
|
|
2018-04-11 19:09:16 +00:00
|
|
|
<Target Name="CheckIfAllBuildsHavePublished"
|
|
|
|
DependsOnTargets="SetBadgeProps">
|
2016-10-12 19:25:06 +00:00
|
|
|
<CheckIfAllBuildsHavePublished AccountKey="$(ArtifactCloudDropAccessToken)"
|
2018-01-17 02:52:59 +00:00
|
|
|
AccountName="$(ArtifactCloudDropAccountName)"
|
|
|
|
ContainerName="$(ArtifactContainerName)"
|
2017-03-01 21:12:16 +00:00
|
|
|
NugetVersion="$(FullNugetVersion)"
|
|
|
|
VersionBadgeMoniker="$(VersionBadgeMoniker)">
|
2016-10-12 19:25:06 +00:00
|
|
|
<Output TaskParameter="HaveAllBuildsPublished" PropertyName="HaveAllBuildsPublished" />
|
|
|
|
</CheckIfAllBuildsHavePublished>
|
|
|
|
</Target>
|
2018-01-16 22:16:56 +00:00
|
|
|
|
|
|
|
<Target Name="FinalizeBuild" Condition=" '$(HaveAllBuildsPublished)' == 'True' ">
|
2018-01-17 02:52:59 +00:00
|
|
|
<CopyBlobsToLatest AccountName="$(ArtifactCloudDropAccountName)"
|
2016-10-12 19:25:06 +00:00
|
|
|
AccountKey="$(ArtifactCloudDropAccessToken)"
|
2018-01-17 02:52:59 +00:00
|
|
|
ContainerName="$(ArtifactContainerName)"
|
2017-02-09 00:53:01 +00:00
|
|
|
NugetVersion="$(FullNugetVersion)"
|
2016-10-12 19:25:06 +00:00
|
|
|
Channel="$(Channel)"
|
2017-06-13 23:45:29 +00:00
|
|
|
CommitHash="$(CommitHash)"
|
|
|
|
Coherent="$(Coherent)" />
|
2016-10-12 19:25:06 +00:00
|
|
|
|
2018-01-17 02:52:59 +00:00
|
|
|
<CopyBlobsToLatest AccountName="$(ChecksumCloudDropAccountName)"
|
2016-10-12 19:25:06 +00:00
|
|
|
AccountKey="$(ChecksumCloudDropAccessToken)"
|
2018-01-17 02:52:59 +00:00
|
|
|
ContainerName="$(ChecksumContainerName)"
|
2017-02-09 00:53:01 +00:00
|
|
|
NugetVersion="$(FullNugetVersion)"
|
2016-10-12 19:25:06 +00:00
|
|
|
Channel="$(Channel)"
|
2017-06-13 23:45:29 +00:00
|
|
|
CommitHash="$(CommitHash)"
|
|
|
|
Coherent="$(Coherent)" />
|
2018-08-10 20:33:53 +00:00
|
|
|
|
|
|
|
<!-- Core-Sdk does not produce a core-sdk package that can be used to signal on
|
|
|
|
dotnet/versions that a new core-sdk version is available. Instead,
|
|
|
|
just publish the latest version and list a "core-sdk" package with version -->
|
|
|
|
<WriteVersionToVersionsRepo BranchName="$(BranchName)"
|
|
|
|
Name="core-sdk"
|
|
|
|
Version="$(FullNugetVersion"
|
|
|
|
GitHubPassword="$(GITHUB_PASSWORD)"
|
|
|
|
Condition=" '$(GITHUB_PASSWORD)' != '' " />
|
2016-10-12 19:25:06 +00:00
|
|
|
</Target>
|
|
|
|
</Project>
|