-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
sbt-dynver recommends to use - in case + doesn't work (e.g. docker). See https://github.com/dwijnand/sbt-dynver#portable-version-strings>.
However this plugin doesn't seem to detect the previous version correctly: If I set ThisBuild / dynverSeparator := "-" then versionPolicyPreviousVersions is empty unless a previous version exists in the local Ivy repository. This makes version checks spuriously succeed on my CI (where the local repo is empty), even if I make a binary incompatible change, because mimaPreviousArtifacts remains empty.
Probably related, versionPolicyPreviousVersions finds published snapshot versions, e.g. 2.0.0-2-d7f5b21a, for its version check.
Metadata
Metadata
Assignees
Labels
No labels