Using Mima to compute the next semver version #728
alexklibisz
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Yes, I think MiMa is a good foundation, and there's at least one other plugin you should definitely look at, namely https://github.com/scalacenter/sbt-version-policy (cc @julienrf) I don't think MiMa itself should enter this area, but if turns out that it's missing hooks or something that would help a plugin get the information it needs out of MiMa, presumably we could accommodate that. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, this looks like it might be pretty much what I need: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm interested in finding a way to minimize the ambiguity and deliberation surrounding version bumps in an SBT project.
I'm thinking one solution would be a new plugin (or extension to an existing one) that provides a new task like
updateVersion
. TheupdateVersion
task would compare the current code in a subproject to the previous artifact published from the same subproject and would return the properly-incremented new version.For example, if I added a new method, it would take the current version, and increment the minor. If I break the API, take the current version, and increment the major.
It sounds a lot like what Mima does, which is why I'm here :)
Is Mima a good foundation for this kind of plugin? Would this kind of functionality fit well directly in mima? Are there any other projects that solve this kind of problem?
Appreciate any input - Thanks!
Beta Was this translation helpful? Give feedback.
All reactions