Closed compnerd closed 3 years ago
@mattt I'm not sure whats the best way to handle this. Tracking releases via branch makes some sense I think. That is you could have a release/5.3, release/5.4, release/5.5 to track the released branches and have main track main. This was the last piece that allows me to build SwiftSyntaxHighlighter on Windows.
I think that with this change merged, it might even be possible to setup CI to keep the package building on Windows.
@compnerd What if we did the following?
Package.swift
the same, targeting the latest supported version of Swift (5.3, for now)Package@swift-5.4.swift
and Package@swift-5.5.swift
)
release/5.4
and release/5.5
, respectively)Package.resolved
to allow CI to passPackage.swift
to a version-specific manifest (so Package@swift-5.4.swift
)Package.swift
Package.swift
to a stable tagWould something like that meet your needs?
I think that should work. Really, ultimately, what Im looking for is being able to build SwiftSyntaxHighlighter with 5.4+ so that it is available on Windows as well to get swift-doc.
@compnerd This is now available in version 1.2.2
This changes the build to track main, which is required when building against the latest toolchain. This allows us to build SwiftSyntaxHighlighter on Windows with the latest toolchain.