Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

The build version should be set in Build.scala, not in code #9

Closed
dotta opened this Issue · 1 comment

1 participant

@dotta
Owner

Currently, when a release is cut, there are two places were the version number needs to be updated:

This is bad practice and error prone. The version in Build.scala should be injected in the code.

@dotta
Owner

I'm working on this and experimenting using sbt-buildinfo. Work is being done in https://github.com/dotta/migration-manager/tree/topic/%2309-inject-build-version. Not quite ready for integration though.

@dotta dotta closed this issue from a commit
@dotta dotta MiMa build version is now injected using ``sbt-buildinfo`` plugin
Added ``sbt-buildinfo`` plugin to MiMa core project definition, so that
the ``buildVersion`` defined inside ``Build.scala`` is now injected during
sbt source-generation phase.

Fixed #9
83f06b5
@dotta dotta closed this in 83f06b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.