aboutsummaryrefslogtreecommitdiff
path: root/zersion.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'zersion.sbt')
-rw-r--r--zersion.sbt6
1 files changed, 6 insertions, 0 deletions
diff --git a/zersion.sbt b/zersion.sbt
new file mode 100644
index 00000000..38f6e5e9
--- /dev/null
+++ b/zersion.sbt
@@ -0,0 +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)