mirror of https://github.com/sbt/sbt.git
Use environment variable thanks to lame sbt jenkins plugin
This commit is contained in:
parent
872d88ea23
commit
5407a21803
|
|
@ -5,7 +5,7 @@ object SbtExtras extends Build {
|
|||
// This build creates a SBT plugin with handy features *and* bundles the SBT script for distribution.
|
||||
val root = Project("sbt-packaging", file(".")) settings(Packaging.settings:_*) settings(
|
||||
sbtVersion <<= sbtVersion apply { v =>
|
||||
sys.props.getOrElse("sbt.build.version", v)
|
||||
sys.props.getOrElse("sbt.build.version", sys.env.getOrElse("sbt.build.version", v))
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue