dotnet-installer/build/publish/FinishBuild.targets
Livar Cunha d29b129f9a Merge remote-tracking branch 'dotnet/rel/1.1.0' into merges/rel/1.1.0-to-release/2.0.0-20170731-070022
* dotnet/rel/1.1.0:
  Trivial change to start a VSO build run.
  Mis-named badge.
  More adjustments for the build-badge table.
  Adjusting the build-badge table.
  Removing the 'OpenSUSE13.2' leg from the Jenkins groovy file.
  Removing the OpenSUSE 13.2 build. from the readme.
  Removing the OpenSUSE 13.2 build.
  Getting the value of 'GitHubPassword' dierctly from a property instead of harvesting from an environmental variable.
  Update SDK to 1.1.0-alpha-20170726-4 in rel/1.1.0
  Updating the build definition URLs.
2017-07-31 11:19:32 -07:00

39 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="FinishBuild"
DependsOnTargets="CheckIfAllBuildsHavePublished;
FinalizeBuild" />
<Target Name="CheckIfAllBuildsHavePublished">
<CheckIfAllBuildsHavePublished AccountKey="$(ArtifactCloudDropAccessToken)"
AccountName="$(ArtifactCloudDropAccountName)"
ContainerName="$(ArtifactContainerName)"
NugetVersion="$(FullNugetVersion)"
VersionBadgeMoniker="$(VersionBadgeMoniker)">
<Output TaskParameter="HaveAllBuildsPublished" PropertyName="HaveAllBuildsPublished" />
</CheckIfAllBuildsHavePublished>
</Target>
<Target Name="FinalizeBuild"
Condition=" '$(HaveAllBuildsPublished)' == 'True' ">
<CopyBlobsToLatest AccountName="$(ArtifactCloudDropAccountName)"
AccountKey="$(ArtifactCloudDropAccessToken)"
ContainerName="$(ArtifactContainerName)"
NugetVersion="$(FullNugetVersion)"
Channel="$(Channel)"
CommitHash="$(CommitHash)"
Coherent="$(Coherent)" />
<CopyBlobsToLatest AccountName="$(ChecksumCloudDropAccountName)"
AccountKey="$(ChecksumCloudDropAccessToken)"
ContainerName="$(ChecksumContainerName)"
NugetVersion="$(FullNugetVersion)"
Channel="$(Channel)"
CommitHash="$(CommitHash)"
Coherent="$(Coherent)" />
<UpdateVersionsRepo BranchName="$(BranchName)"
PackagesDirectory="$(PackagesDirectory)"
GitHubPassword="$(GITHUB_PASSWORD)" />
</Target>
</Project>