aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2015-07-21 00:16:15 +0200
committerIvan Topolnjak <ivantopo@gmail.com>2015-07-21 00:16:15 +0200
commit898bb10c5ad18edc0f61497ef26c45d74222367f (patch)
tree644d07d29fa92f22b70ebbe8c6905c4d553dd37d
parent5b32dba5f2792bd59e9db7780f848c0a387ed32c (diff)
downloadKamon-898bb10c5ad18edc0f61497ef26c45d74222367f.tar.gz
Kamon-898bb10c5ad18edc0f61497ef26c45d74222367f.tar.bz2
Kamon-898bb10c5ad18edc0f61497ef26c45d74222367f.zip
= build: restore the git commit SHA suffix on snapshot builds.
-rw-r--r--version.sbt2
-rw-r--r--zersion.sbt (renamed from versionwithsha.sbt)3
2 files changed, 3 insertions, 2 deletions
diff --git a/version.sbt b/version.sbt
index 22edbfc8..5492cbd5 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-version in ThisBuild := "0.4.1" \ No newline at end of file
+version in ThisBuild := "0.4.1-SNAPSHOT"
diff --git a/versionwithsha.sbt b/zersion.sbt
index 288e7948..38f6e5e9 100644
--- a/versionwithsha.sbt
+++ b/zersion.sbt
@@ -1,5 +1,6 @@
// 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.
version in ThisBuild := VersionWithSHA.kamonVersionWithSHA((version in ThisBuild).value)
-isSnapshot in ThisBuild := VersionWithSHA.kamonIsSnapshot((version in ThisBuild).value) \ No newline at end of file
+isSnapshot in ThisBuild := VersionWithSHA.kamonIsSnapshot((version in ThisBuild).value)