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

Fix shipping metadata for blob files #1858

Merged

Conversation

jander-msft
Copy link
Member

The metadata on the PackageFile items was accidentally dropped in #1834, which causes all of the files uploaded to the dotnetbuilds storage account to be marked as non-shipping. This fix includes the metadata from the PackageFile items in the PackageToPublish items to allow shipping vs non-shipping to be tracked correctly.

@jander-msft jander-msft added servicing-patch Servicing fixes that is targeted for a patch release (0.0.x version) servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) labels May 5, 2022
Copy link
Contributor

@kelltrick kelltrick left a comment

Choose a reason for hiding this comment

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

I assume PackageFile's items will always be files that were included? That's the only difference I see here (this will break if the items are something like strings).

@jander-msft
Copy link
Member Author

I assume PackageFile's items will always be files that were included? That's the only difference I see here (this will break if the items are something like strings).

They should always be files. Earlier in the file, the PackageFile items should have been globes from the file system.

@jander-msft jander-msft merged commit bc0b0f8 into dotnet:main May 8, 2022
@jander-msft jander-msft deleted the dev/jander/fix-shipping-metadata branch May 8, 2022 17:27
@jander-msft
Copy link
Member Author

/backport to release/6.1

@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2022

Started backporting to release/6.1: https://github.com/dotnet/dotnet-monitor/actions/runs/2290335690

@jander-msft jander-msft removed servicing-patch Servicing fixes that is targeted for a patch release (0.0.x version) servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) labels May 9, 2022
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.

2 participants