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:
|
||||
dependsOn:
|
||||
- Windows_NT
|
||||
- Linux
|
||||
- Darwin
|
||||
queue:
|
||||
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. -->
|
||||
<Project>
|
||||
|
||||
<Import Project="$(RepoRoot)\src\redist\targets\Versions.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<Product>Sdk</Product>
|
||||
<BlobStoragePartialRelativePath>$(Product)</BlobStoragePartialRelativePath>
|
||||
<BlobStoragePartialRelativePath Condition="'$(IsNotOrchestratedPublish)' == 'false'">assets/$(Product)</BlobStoragePartialRelativePath>
|
||||
<PublishToBlobFeedFlatContainer>true</PublishToBlobFeedFlatContainer>
|
||||
<VersionSvgTemplate>$(RepoRoot)/resources/images/version_badge.svg</VersionSvgTemplate>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -16,11 +20,16 @@
|
|||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.deb" />
|
||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.rpm" />
|
||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.msi" />
|
||||
|
||||
<ItemsToPushToBlobFeed Include="@(SdkAssetsToPublish)" IsShipping="true" >
|
||||
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(Version)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/'))</RelativeBlobPath>
|
||||
<ManifestArtifactData>ShipInstaller=dotnetcli</ManifestArtifactData>
|
||||
</ItemsToPushToBlobFeed>
|
||||
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.svg" />
|
||||
</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>
|
||||
|
|
|
@ -12,6 +12,7 @@ function InitializeCustomSDKToolset {
|
|||
#InstallDotNetSharedFramework "1.0.5"
|
||||
#InstallDotNetSharedFramework "1.1.2"
|
||||
|
||||
InitializeDotNetCli true
|
||||
# Install 2.1 framework for dotnet-deb-tool
|
||||
InstallDotNetSharedFramework "2.1.0"
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 707 B After Width: | Height: | Size: 707 B |
Loading…
Reference in a new issue