[swift-build-dev] How to depend on a specified Pre-release version of package with the Swift Package Manager

Kostiantyn Koval konstantin.koval1 at gmail.com
Mon Mar 21 04:36:30 CDT 2016


Hi JPMartha,

I think it should be possible to specify a dependency package with a specific pre-release identifier in Manifest and swiftpm should fetch that exact version. 
Example:
Package(url: ""https://github.com/ikesyo/Himotoki.git",
  versions: Version(1, 0, 0, prereleaseIdentifiers: “beta.1”)

The swiftPM should fetch a package with v-1.0.0-beta-1 tag 

> On 21 Mar 2016, at 06:43, Martha JP via swift-build-dev <swift-build-dev at swift.org> wrote:
> 
> Hi, I'm JPMartha.
> 
> I had filed an issue of the Swift Package Manager first.
> But, I should have heard your feedback on my opinion beforehand.
> 
> Please see the following:
> https://bugs.swift.org/browse/SR-965 <https://bugs.swift.org/browse/SR-965>
> 
> I think it's unexpected behavior.
> I'm curious to hear your feedback!
> 
> Best regards,
> JPMartha
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20160321/0a551b45/attachment.html>


More information about the swift-build-dev mailing list