Skip to content

source-build: stop overriding aspnetcore version - #14938

Merged
MichaelSimons merged 3 commits into
dotnet:mainfrom
tmds:sb_aspnetcore_version
Nov 15, 2022
Merged

MichaelSimons merged 3 commits into
dotnet:mainfrom
tmds:sb_aspnetcore_version

Conversation

@tmds

@tmds tmds commented Nov 9, 2022 •

Copy link
Copy Markdown
Member

Rename MicrosoftAspNetCoreAppRuntimePackageVersion so existing Artifacts tarballs don't override it,
and stop adding it to the PackageVersions.props in new Artifacts tarballs.

Related to dotnet/source-build#3121.

cc @ayakael @MichaelSimons @crummel

…cts tarballs don't override it,

and stop adding it to the PackageVersions.props in new Artifacts tarballs.
@MichaelSimons

Copy link
Copy Markdown
Member

My understanding is the renamed property is temporary until the previous source-build artifacts have been updated to not include the extra property in the PackageVersions.props file. Given the rename affects the official source and is not very localized, what do you think about adding a call to ReplaceRegexInFiles to simply remove the extra property in the PackageVersions.props file? This will validate the end state we want to get to works as expected now. This could be done where we copy the file into the artifacts.

crummel pushed a commit to ayakael/installer that referenced this pull request Nov 15, 2022
@tmds

tmds commented Nov 15, 2022

Copy link
Copy Markdown
Member Author

what do you think about adding a call to ReplaceRegexInFiles to simply remove the extra property in the PackageVersions.props file? This will validate the end state we want to get to works as expected now. This could be done where we copy the file into the artifacts.

I've implemented this. I had to move the ReplaceRegexInFiles after BuildXPlatTasks to be able to use the task.

@MichaelSimons MichaelSimons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM - Thanks for refactoring to limit the impact of the temporary workaround. I have one minor comment.

@tmds

tmds commented Nov 15, 2022

Copy link
Copy Markdown
Member Author

@ayakael do you want to verify the patch works with the Alpine build?

@ayakael

ayakael commented Nov 15, 2022

Copy link
Copy Markdown

@ayakael do you want to verify the patch works with the Alpine build?

Sure, I'll do that right away.

@ayakael

ayakael commented Nov 15, 2022

Copy link
Copy Markdown

@tmds Testing against 7.0.100-rtm.22521.12, Alpine looks good. I'll update release/6.0 backport :))

@MichaelSimons
MichaelSimons merged commit a8dcd1e into dotnet:main Nov 15, 2022
ayakael added a commit to ayakael/installer that referenced this pull request Nov 15, 2022
ayakael added a commit to ayakael/installer that referenced this pull request Nov 16, 2022
cho-m added a commit to Homebrew/formula-patches that referenced this pull request Dec 7, 2022
ayakael added a commit to ayakael/installer that referenced this pull request Dec 16, 2022
ayakael added a commit to ayakael/installer that referenced this pull request Jan 10, 2023
ayakael added a commit to ayakael/installer that referenced this pull request Jan 11, 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.

4 participants