Replies: 4 comments 9 replies
-
Hi Cal, thanks for the report! I haven't had a chance yet to check in detail but I suspect it's because the versions aren't valid SemVer. It should be 4.0.0. We could be more lenient here if that's in fact the problem! |
Beta Was this translation helpful? Give feedback.
-
Interestingly, the reason we originally used strict rules is that Xcode used those rules when adding a package. If you had pasted this package's URL into Xcode's "Add Package" window, it would have offered to add v3.0.2, as it was the last version with a strict semantic version number. I just tested it again using Xcode 13.2.1 and it looks like Apple's implementation has changed and they're now recognising non-strict semantic versions in that screen and it finds 4.0 (which it converts to 4.0.0): So, we should add support for expanding version numbers like this in the package index too. The idea was to match what Xcode did, and that's still what I'd like to do. I'll add an issue for this next week. |
Beta Was this translation helpful? Give feedback.
-
I'll close this now as I believe we're still doing the right thing! Thanks so much for the report though, Cal. It's always good to check as things can change! |
Beta Was this translation helpful? Give feedback.
-
Aha! Looks like this is supported by SPM in Swift 5.6. From the release notes:
|
Beta Was this translation helpful? Give feedback.
-
Hey folks, I recently added my package CGPathIntersection to the index. It shows version 3.0.2 as the latest version, but the current version is 4.0. (There was also a 3.1 release that never appeared on SPI).
These are releases that I cut / tagged on the GitHub releases page. Is this a configuration issue on my end, or a bug in SPI?
Beta Was this translation helpful? Give feedback.
All reactions