Skip to content

[5.6] preserve old formatting of Package.resolved in tools-version < 5.6 (#3931) #3939

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
Dec 15, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Dec 13, 2021

5.6 cherry-pick of #3931

…wiftlang#3931)

motivation: We moved to JSONEncoder in 5.6 which formats JSON in a non-traditional way (add space around the field name colon), and different from previous version of SwiftPM. We can make the change tools-version dependent.

changes: user older JSON encoder when tools-version < 5.6, preserving previous format

rdar://86341850
@tomerd
Copy link
Contributor Author

tomerd commented Dec 13, 2021

@swift-ci test

@tomerd
Copy link
Contributor Author

tomerd commented Dec 13, 2021

@swift-ci please test macOS

@tomerd tomerd merged commit a56c214 into swiftlang:release/5.6 Dec 15, 2021
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