-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle -
as version separator in addition to +
#103
Comments
Thank you for reporting. |
To work around this issue I now leave I'd appreciate a short line about this in |
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 := "-"
thenversionPolicyPreviousVersions
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.The text was updated successfully, but these errors were encountered: