Publishes the binaries and native installers.
This commit is contained in:
parent
c5f1e52ac4
commit
24f2e8c34e
4 changed files with 17 additions and 5 deletions
|
@ -242,5 +242,7 @@ phases:
|
||||||
parameters:
|
parameters:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- Windows_NT
|
- Windows_NT
|
||||||
|
- Linux
|
||||||
|
- Darwin
|
||||||
queue:
|
queue:
|
||||||
name: Hosted VS2017
|
name: Hosted VS2017
|
|
@ -2,10 +2,14 @@
|
||||||
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
|
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
|
<Import Project="$(RepoRoot)\src\redist\targets\Versions.targets" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Product>Sdk</Product>
|
<Product>Sdk</Product>
|
||||||
<BlobStoragePartialRelativePath>$(Product)</BlobStoragePartialRelativePath>
|
<BlobStoragePartialRelativePath>$(Product)</BlobStoragePartialRelativePath>
|
||||||
<BlobStoragePartialRelativePath Condition="'$(IsNotOrchestratedPublish)' == 'false'">assets/$(Product)</BlobStoragePartialRelativePath>
|
<BlobStoragePartialRelativePath Condition="'$(IsNotOrchestratedPublish)' == 'false'">assets/$(Product)</BlobStoragePartialRelativePath>
|
||||||
|
<PublishToBlobFeedFlatContainer>true</PublishToBlobFeedFlatContainer>
|
||||||
|
<VersionSvgTemplate>$(RepoRoot)/resources/images/version_badge.svg</VersionSvgTemplate>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -16,11 +20,16 @@
|
||||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.deb" />
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.deb" />
|
||||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.rpm" />
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.rpm" />
|
||||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.msi" />
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.msi" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.svg" />
|
||||||
<ItemsToPushToBlobFeed Include="@(SdkAssetsToPublish)" IsShipping="true" >
|
|
||||||
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(Version)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
|
|
||||||
<ManifestArtifactData>ShipInstaller=dotnetcli</ManifestArtifactData>
|
|
||||||
</ItemsToPushToBlobFeed>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="PrepareCoreSdkAssets" BeforeTargets="Publish" DependsOnTargets="SetSdkVersionInfo">
|
||||||
|
<ItemGroup>
|
||||||
|
<ItemsToPushToBlobFeed Include="@(SdkAssetsToPublish)" IsShipping="true" >
|
||||||
|
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(SdkVersion)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
|
||||||
|
<ManifestArtifactData>ShipInstaller=dotnetcli</ManifestArtifactData>
|
||||||
|
</ItemsToPushToBlobFeed>
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -12,6 +12,7 @@ function InitializeCustomSDKToolset {
|
||||||
#InstallDotNetSharedFramework "1.0.5"
|
#InstallDotNetSharedFramework "1.0.5"
|
||||||
#InstallDotNetSharedFramework "1.1.2"
|
#InstallDotNetSharedFramework "1.1.2"
|
||||||
|
|
||||||
|
InitializeDotNetCli true
|
||||||
# Install 2.1 framework for dotnet-deb-tool
|
# Install 2.1 framework for dotnet-deb-tool
|
||||||
InstallDotNetSharedFramework "2.1.0"
|
InstallDotNetSharedFramework "2.1.0"
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
Loading…
Reference in a new issue