Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

[release/3.1] Fix servicing project skips: work in unstable mode #8992

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

dagood
Copy link
Member

@dagood dagood commented Jan 29, 2020

Description

Ports #8991 from release/3.0 to release/3.1.

For dotnet/runtime#639. Fixes the targeting pack skipping logic so the targeting packs are skipped even when the repo builds in unstable mode.

For example, both 3.1.5 and 3.1.5-servicing-12345 should skip building the netcoreapp targeting packs. If 3.1.5-servicing-12345 included the targeting pack, downstream repos would update to include it, then when we produce a 3.1.5 stable build, we're left with an invalid, stale reference to 3.1.5-servicing-12345 in the downstream repo. So far, this has been solved by pinning the dependency so it isn't updated to the unwanted 3.1.5-servicing-12345 build.

/cc @nguerrera @wtgodbe

Customer Impact

This lets downstream repos unpin their dependencies on the targeting packs, leading to more reliable dependency flow and giving us a more certain release.

Regression?

No.

Risk

Low. The logic is very simple and only affects unstable mode builds. I can't imagine a way this could negatively impact the build or downstream repos. We have the same implementation merged into dotnet/runtime master.

Copy link
Member

@mmitche mmitche left a comment

Choose a reason for hiding this comment

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

Great!

@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 6, 2020
@Anipik Anipik merged commit 644ff0f into dotnet:release/3.1 Feb 13, 2020
@dagood dagood deleted the tp-skip-prerel-3.1 branch February 13, 2020 22:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants