Skip to content

[release/5.0.1xx-preview4] Generate versions sparsely - #7290

Merged
mmitche merged 4 commits into
dotnet:release/5.0.1xx-preview4from
mmitche:generate-versions-sparsely
Apr 24, 2020
Merged

mmitche merged 4 commits into
dotnet:release/5.0.1xx-preview4from
mmitche:generate-versions-sparsely

Conversation

@mmitche

@mmitche mmitche commented Apr 24, 2020

Copy link
Copy Markdown
Member

Do not generate the productVersion file in every leg. Generate only in win-x64,
so that we don't end up uploading it for every manifest. Publishing breaks in this scenario today.
This is a real bug in publishing, but we will probably tighten the restrictions in the
Publish to BAR step so that multi-publishign the same asset is an error.

Also remove the productCommit-* in cases where we have overlapping rids, which would cause the same problem

Do not generate the productVersion file in every leg. Generate only in win-x64,
so that we don't end up uploading it for every manifest. Publishing breaks in this scenario today.
This is a real bug in publishing, but we will probably tighten the restrictions in the
Publish to BAR step so that multi-publishign the same asset is an error.

Also remove the productCommit-* in cases where we have overlapping rids, which would cause the same problem
@mmitche

mmitche commented Apr 24, 2020

Copy link
Copy Markdown
Member Author

That fix failed because publishing expected the files to exist....switching to a slightly different version

@mmitche

mmitche commented Apr 24, 2020

Copy link
Copy Markdown
Member Author

Alright I think this is goooood to go now.

@bekir-ozturk

Copy link
Copy Markdown

If we are going to remove rid specific productCommit files, I think we should do the same to version badges.

@mmitche

mmitche commented Apr 24, 2020 •

Copy link
Copy Markdown
Member Author

Altered it again to preserve those (it was just the checksums of those files)

@mmitche
mmitche merged commit 737c27c into dotnet:release/5.0.1xx-preview4 Apr 24, 2020
sfoslund pushed a commit to sfoslund/core-sdk that referenced this pull request Apr 27, 2020
* Publish productVersion sparsely
Do not publish the productVersion file in every leg. Publish only in win-x64,
so that we don't end up uploading it for every manifest. Publishing breaks in this scenario today.
This is a real bug in publishing, but we will probably tighten the restrictions in the
Publish to BAR step so that multi-publishign the same asset is an error.

Also remove the productCommit-* in cases where we have overlapping rids, which would cause the same problem
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