blob: 28c085c51d3d9f82d59d26cae0561b9eaf36b54a (
plain) (
tree)
|
|
// This file has a sensitive filename. It MUST be loaded after version.sbt, so it can rely in sbt-release version
// Even while the name seems a typo, that "ensures" that it will be loaded as expected.
import VersionWithSHA._
version in ThisBuild := {
val currentVersion = (version in ThisBuild).value
if(kamonIsSnapshot(currentVersion))
kamonVersionWithSHA(currentVersion)
else
currentVersion
}
isSnapshot in ThisBuild := VersionWithSHA.kamonIsSnapshot((version in ThisBuild).value)
|