Skip to content

Commit

Permalink
Fail if tag is older than base version typelevel#105
Browse files Browse the repository at this point in the history
- add in comment
  • Loading branch information
osleonard committed Feb 4, 2022
1 parent 266cbaa commit 3f7660d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ object TypelevelVersioningPlugin extends AutoPlugin {
.filterNot(_.isPrerelease) // TODO Ordering of pre-releases is arbitrary
.headOption

// version here is the prefix used further to build a final version number
var version = latestInSeries.fold(tlBaseVersion.value)(_.toString)

latestInSeries.flatMap { previous =>
Expand Down

0 comments on commit 3f7660d

Please sign in to comment.