Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent updates to a pre-release of another series #1009
This contains code from #851 for preventing updates to a pre-release of
This contains code from #851 for preventing updates to a pre-release of another version series. Version.selectNext is now responsible for selecting the next version from a list of possible newer versions. This functions implements the scheme described in https://github.com/fthomas/scala-steward/blob/master/docs/faq.md#how-does-scala-steward-decide-what-version-it-is-updating-to and also filters out all bumps between pre-releases of different version series. This code incidentally also makes the code to deal with updates from non-snapshot to snapshot versions (#485) superfluous. Closes #956.