Skip to content

[5.5][Collections] Don't allow package.versions to be empty #3516

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

Merged
merged 1 commit into from
May 28, 2021

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented May 27, 2021

#3515 for 5.5

Motivation:
Currently packages in a collection can have `versions` array be empty. Can't remember if this was intentional but a package that has no versions is not very useful.

Modification:
Update validation to fail when `package.versions` is empty.
@yim-lee yim-lee changed the title [Collections] Don't allow package.versions to be empty [5.5][Collections] Don't allow package.versions to be empty May 27, 2021
@yim-lee
Copy link
Contributor Author

yim-lee commented May 27, 2021

@swift-ci please test

@yim-lee yim-lee merged commit 5b04e6b into swiftlang:release/5.5 May 28, 2021
@yim-lee yim-lee deleted the no-versions-5.5 branch May 28, 2021 02:17
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