Ability to run master without tagged releases
Creating a new Marathon package currently requires at least one tagged release:
➜ Harvey git:(danger-swift) ✗ marathon run Test.swift
💥 Could not resolve the latest version for package at 'https://github.com/ashfurrow/danger-swiftlint.git'
👉 Make sure that the package you're trying to add is reachable, and has at least one tagged release
It'd be cool if this wasn't a requirement. Thanks!
Hey @ashfurrow 👋
I agree, it would be really cool 👍 But as far as I know this is not supported by the Swift Package Manager, for remote packages it requires a tagged version. And since Marathon is essentially a wrapper around SPM it inherits this requirement.
One possible way of solving it could be that Marathon simply clones master of a given repo, and then makes a tag locally and makes the script point to the local clone. Not sure if it's worth the complexity though 🤔
Not worth it IMO, but it's a bit sucky downstream.
I wonder if the // marathon: https://github.com/danger/danger.git syntax could be expanded to include branches? then you can use the branch master and pass that to SPM