ArPow: Add package-source-build project (#10998)
* Add package-source-build project * Remove unneccessary reference
This commit is contained in:
parent
81ae7b363b
commit
1d29250565
2 changed files with 5 additions and 8 deletions
|
@ -31,6 +31,10 @@
|
|||
<RepositoryReference Include="arcade" />
|
||||
<RepositoryReference Include="linker" />
|
||||
|
||||
<!-- Package source-build artifacts -->
|
||||
|
||||
<RepositoryReference Include="package-source-build" />
|
||||
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
<ItemGroup>
|
||||
<RepositoryReference Include="arcade" />
|
||||
<RepositoryReference Include="sdk" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||
|
@ -20,17 +19,11 @@
|
|||
<!-- Copy PVP to packages dir in order to package them together -->
|
||||
<Copy SourceFiles="$(IncludedPackageVersionPropsFile)" DestinationFiles="$(SourceBuiltPackagesPath)PackageVersions.props" />
|
||||
|
||||
<!-- Copy coreclr tools to packages dir to include it in the source-built tarball as well -->
|
||||
<ItemGroup>
|
||||
<CoreClrToolsFiles Include="$(ToolPackageExtractDir)coreclr-tools/*" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(CoreClrToolsFiles)" DestinationFolder="$(SourceBuiltPackagesPath)coreclr-tools" />
|
||||
|
||||
<PropertyGroup>
|
||||
<SourceBuiltTarballName>$(OutputPath)$(SourceBuiltArtifactsTarballName).$(VersionPrefix)-$(VersionSuffix).tar.gz</SourceBuiltTarballName>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="tar --numeric-owner -czf $(SourceBuiltTarballName) *.nupkg *.props coreclr-tools/*" WorkingDirectory="$(SourceBuiltPackagesPath)" />
|
||||
<Exec Command="tar --numeric-owner -czf $(SourceBuiltTarballName) *.nupkg *.props" WorkingDirectory="$(SourceBuiltPackagesPath)" />
|
||||
|
||||
<Message Importance="High" Text="Packaged source-built artifacts to $(SourceBuiltTarballName)" />
|
||||
</Target>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue