From 5407a218034bdc2e60e4702ced0431bae9bbe8c9 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Fri, 7 Sep 2012 13:52:05 -0400 Subject: [PATCH] Use environment variable thanks to lame sbt jenkins plugin --- project/build.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.scala b/project/build.scala index 82e6e13aa..61adf4122 100644 --- a/project/build.scala +++ b/project/build.scala @@ -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)) } )