Skip to content

Always produce a .zip and .tar.gz for the targeting pack #11230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

natemcmaster
Copy link
Contributor

Follow-up to #11116

WorkingDirectory="$(TargetingPackLayoutRoot)"
Condition="'$(TargetRuntimeIdentifier)' == 'linux-x64'" />
<Message Importance="High" Text="$(MSBuildProjectName) -> $(ArchiveOutputPath)" />
Command="tar -czf $(TarArchiveOutputPath) ."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woah we have tar on windows now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@dougbu dougbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Side question: Why did you originally made the change at https://github.com/aspnet/AspNetCore/pull/11116/files#diff-7936f6109f5f7b8cb12969aa87896bf4R66 ?

@natemcmaster
Copy link
Contributor Author

Why did you originally made the change at /pull/11116/files#diff-7936f6109f5f7b8cb12969aa87896bf4R66 ?

To decouple build and pack. We still need to build the .dlls for the ref pack because there is rid-specific packaging, like .deb and .rpm files, but otherwise, a rid-specific build doesn't need to produce the rid-less packaging (.nupkg/.zip/.tar.gz)

@natemcmaster natemcmaster merged commit 8710670 into dotnet:master Jun 14, 2019
@natemcmaster natemcmaster deleted the ref-pkg branch June 14, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants