Change output of sharedfx build to match feed layout
- Upgrade build tools - Produce an SVG badge for the sharedfx - Produce the 'latest.aspnetcore.version' file for the dotnet-install.ps1/sh downloader script - Change layout of output for sharefx build - Use KoreBuild's bundled package folder for internal build tools packages
This commit is contained in:
parent
00db2000b2
commit
ababb64d51
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"files.associations": {
|
||||||
|
"*.*proj": "xml",
|
||||||
|
"*.props": "xml",
|
||||||
|
"*.targets": "xml"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -48,8 +48,8 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SharedFxWorkDirectory>$(_WorkRoot)SharedFx\</SharedFxWorkDirectory>
|
<SharedFxWorkDirectory>$(_WorkRoot)SharedFx\</SharedFxWorkDirectory>
|
||||||
<SharedFxOutputDirectory>$(_WorkRoot)Publish\</SharedFxOutputDirectory>
|
<SharedFxIntermediateOutputPath>$(_WorkRoot)Publish\</SharedFxIntermediateOutputPath>
|
||||||
<SharedFxPublishDirectory>$(SharedFxOutputDirectory)shared\Microsoft.AspNetCore.All\$(PackageVersion)\</SharedFxPublishDirectory>
|
<SharedFxPublishDirectory>$(SharedFxIntermediateOutputPath)shared\Microsoft.AspNetCore.All\$(PackageVersion)\</SharedFxPublishDirectory>
|
||||||
|
|
||||||
<_SharedFxProps>Configuration=$(Configuration);RuntimeIdentifier=$(SharedFxRID)</_SharedFxProps>
|
<_SharedFxProps>Configuration=$(Configuration);RuntimeIdentifier=$(SharedFxRID)</_SharedFxProps>
|
||||||
<_SharedFxProps>$(_SharedFxProps);RuntimeFrameworkVersion=$(MicrosoftNETCoreApp21PackageVersion)</_SharedFxProps>
|
<_SharedFxProps>$(_SharedFxProps);RuntimeFrameworkVersion=$(MicrosoftNETCoreApp21PackageVersion)</_SharedFxProps>
|
||||||
|
|
@ -122,15 +122,31 @@
|
||||||
Lines="@(VersionLines)"
|
Lines="@(VersionLines)"
|
||||||
Overwrite="true" />
|
Overwrite="true" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Used by the downloader scripts when pulling from a 'channel' instead of a specific version.
|
||||||
|
The second line must be the package version.
|
||||||
|
See dotnet-install.ps1/sh.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<WriteLinesToFile
|
||||||
|
File="$(SharedFxOutputPath)latest.aspnetcore.version"
|
||||||
|
Lines="@(VersionLines)"
|
||||||
|
Overwrite="true" />
|
||||||
|
|
||||||
|
<GenerateSvgBadge
|
||||||
|
OutputPath="$(SharedFxOutputPath)$(SharedFxInstallerName)-$(SharedFxRID)-version-badge.svg"
|
||||||
|
Label="version"
|
||||||
|
Value="$(PackageVersion)" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<OutputZipFiles Include="$(SharedFxOutputDirectory)**\*" />
|
<OutputZipFiles Include="$(SharedFxIntermediateOutputPath)**\*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Create archive -->
|
<!-- Create archive -->
|
||||||
<ZipArchive
|
<ZipArchive
|
||||||
File="$(ArtifactsDir)$(SharedFxInstallerName)-$(PackageVersion)-$(SharedFxRID).zip"
|
File="$(SharedFxOutputPath)$(SharedFxInstallerName)-$(PackageVersion)-$(SharedFxRID).zip"
|
||||||
SourceFiles="@(OutputZipFiles)"
|
SourceFiles="@(OutputZipFiles)"
|
||||||
WorkingDirectory="$(SharedFxOutputDirectory)"
|
WorkingDirectory="$(SharedFxIntermediateOutputPath)"
|
||||||
Overwrite="true"/>
|
Overwrite="true"/>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
Configuration=$(Configuration);
|
Configuration=$(Configuration);
|
||||||
IsFinalBuild=$(IsFinalBuild);
|
IsFinalBuild=$(IsFinalBuild);
|
||||||
</TemplateProjProperties>
|
</TemplateProjProperties>
|
||||||
<TemplateProjTargets>Restore;Compile;Package</TemplateProjTargets>
|
<TemplateProjTargets>CleanArtifacts;Restore;Compile;Package</TemplateProjTargets>
|
||||||
<TemplateProjTargets Condition="'$(SkipTests)' != 'true'">
|
<TemplateProjTargets Condition="'$(SkipTests)' != 'true'">
|
||||||
$(TemplateProjTargets);
|
$(TemplateProjTargets);
|
||||||
Test;
|
Test;
|
||||||
|
|
|
||||||
|
|
@ -196,10 +196,11 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AspNetCoreToolsFeed>https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json</AspNetCoreToolsFeed>
|
<AspNetCoreToolsFeed>https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json</AspNetCoreToolsFeed>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ExternalDependency Include="Internal.AspNetCore.Sdk" Version="$(InternalAspNetCoreSdkPackageVersion)" Source="$(AspNetCoreToolsFeed)" Private="true" />
|
<ExternalDependency Include="Internal.AspNetCore.Sdk" Version="$(InternalAspNetCoreSdkPackageVersion)" Source="$(KoreBuildBundledPackageFolder);$(AspNetCoreToolsFeed)" Private="true" />
|
||||||
<ExternalDependency Include="Internal.AspNetCore.SiteExtension.Sdk" Version="$(InternalAspNetCoreSiteExtensionSdkPackageVersion)" Source="$(AspNetCoreToolsFeed)" Private="true" />
|
<ExternalDependency Include="Internal.AspNetCore.SiteExtension.Sdk" Version="$(InternalAspNetCoreSiteExtensionSdkPackageVersion)" Source="$(KoreBuildBundledPackageFolder);$(AspNetCoreToolsFeed)" Private="true" />
|
||||||
<ExternalDependency Include="Microsoft.AspNetCore.BuildTools.ApiCheck" Version="$(MicrosoftAspNetCoreBuildToolsApiCheckPackageVersion)" Source="$(AspNetCoreToolsFeed)" Private="true" />
|
<ExternalDependency Include="Microsoft.AspNetCore.BuildTools.ApiCheck" Version="$(MicrosoftAspNetCoreBuildToolsApiCheckPackageVersion)" Source="$(KoreBuildBundledPackageFolder);$(AspNetCoreToolsFeed)" Private="true" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- ASP.NET Core Module -->
|
<!-- ASP.NET Core Module -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,8 @@
|
||||||
<IsFinalBuild Condition="'$(IsFinalBuild)' == ''">false</IsFinalBuild>
|
<IsFinalBuild Condition="'$(IsFinalBuild)' == ''">false</IsFinalBuild>
|
||||||
|
|
||||||
<SubmoduleRoot>$(RepositoryRoot)modules\</SubmoduleRoot>
|
<SubmoduleRoot>$(RepositoryRoot)modules\</SubmoduleRoot>
|
||||||
<LineupBuildDir>$(ArtifactsDir)lineups\</LineupBuildDir>
|
<LineupBuildDir>$([MSBuild]::NormalizeDirectory($(ArtifactsDir)))lineups\</LineupBuildDir>
|
||||||
|
<SharedFxOutputPath>$([MSBuild]::NormalizeDirectory($(ArtifactsDir)))assets\Runtime\$(PackageVersion)\</SharedFxOutputPath>
|
||||||
|
|
||||||
<DependencyPackageDir>$(RepositoryRoot).deps\build\</DependencyPackageDir>
|
<DependencyPackageDir>$(RepositoryRoot).deps\build\</DependencyPackageDir>
|
||||||
<DependencyMirrorPackageDir>$(RepositoryRoot).deps\mirror\</DependencyMirrorPackageDir>
|
<DependencyMirrorPackageDir>$(RepositoryRoot).deps\mirror\</DependencyMirrorPackageDir>
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
<CompileDependsOn>$(CompileDependsOn);BuildRepositories</CompileDependsOn>
|
<CompileDependsOn>$(CompileDependsOn);BuildRepositories</CompileDependsOn>
|
||||||
<PackageDependsOn Condition="'$(TestOnly)' != 'true'">$(PackageDependsOn);BuildMetapackage;BuildTemplates;SplitPackages</PackageDependsOn>
|
<PackageDependsOn Condition="'$(TestOnly)' != 'true'">$(PackageDependsOn);BuildMetapackage;BuildTemplates;SplitPackages</PackageDependsOn>
|
||||||
<VerifyDependsOn Condition="'$(TestOnly)' != 'true'">$(VerifyDependsOn);VerifyCoherentVersions</VerifyDependsOn>
|
<VerifyDependsOn Condition="'$(TestOnly)' != 'true'">$(VerifyDependsOn);VerifyCoherentVersions</VerifyDependsOn>
|
||||||
|
<GetArtifactInfoDependsOn>$(GetArtifactInfoDependsOn);ResolveRepoInfo</GetArtifactInfoDependsOn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="PrepareOutputPaths">
|
<Target Name="PrepareOutputPaths">
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
version:2.1.0-preview1-15638
|
version:2.1.0-preview1-15646
|
||||||
commithash:1d3a0c725dc6b8ae6b0e47800fd6b4d8f8b8d545
|
commithash:c390edb6f73e3ab992402835c004414c1fadfd4a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue