Skip to content
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

Remove source-build manipulation of stable version. #15121

Merged
merged 3 commits into from
Feb 6, 2023

Conversation

crummel
Copy link

@crummel crummel commented Dec 12, 2022

Fixes dotnet/source-build#3146.

ASP.NET backport PR: dotnet/aspnetcore#46299.

Copy link
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

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

What is the impact of this in regards to the OverrideBootstrapVersions.props file? Does this file remain until the next release where the correct versions will be produced? If that's the case have you validated the file can be removed with these changes?

@MichaelSimons
Copy link
Member

I approved but then noticed the CI failure. The CI failure seems related to the patch.

@MichaelSimons MichaelSimons self-requested a review January 31, 2023 15:47
@crummel
Copy link
Author

crummel commented Feb 3, 2023

What is the impact of this in regards to the OverrideBootstrapVersions.props file? Does this file remain until the next release where the correct versions will be produced? If that's the case have you validated the file can be removed with these changes?

Yes, removing the OverrideBootstrapVersions.props will have to wait until we have a PSB with the correct versions in it. I verified that the artifacts and PVP in the PSB produced by this build is the expected 7.0.2 version and I'll try to kick off a build with this same change using those artifacts.

The OSX failure is unrelated; it's the same one we've been seeing everywhere.

@crummel
Copy link
Author

crummel commented Feb 3, 2023

Building with the artifacts failed - I removed the ExtraVersionProps but they are needed; they just need to be set to the correct version rather than the runtimeOutputVersion we construct. Kicking off another try at this.

@crummel
Copy link
Author

crummel commented Feb 3, 2023

Added a note to dotnet/source-build#3129 that the OverrideBootstrapProps removal will also involve a fix in buildBootstrapPreviouslySB.csproj - OverrideBootstrapProps is used unconditionally there. Other than that it all looks good, I have a build working using the artifacts from the CI bulid as input for a ./prep.sh --bootstrap build of the same changes.

These are expected to be the same version number and cause fewer problems for people who are building on RIDs that do not match our PSB RID.
@crummel
Copy link
Author

crummel commented Feb 3, 2023

I also updated dotnet/source-build#3231 as we discussed to be about eliminating the RID-specific variables throughout the product.

@crummel
Copy link
Author

crummel commented Feb 6, 2023

Merging past the OSX failure - this is the persistent one we've been seeing everywhere.

@crummel crummel merged commit 40dd360 into dotnet:release/7.0.1xx Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants