summaryrefslogtreecommitdiff
path: root/build.ant
diff options
context:
space:
mode:
Diffstat (limited to 'build.ant')
-rw-r--r--build.ant9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.ant b/build.ant
index cb3bcc3c..fd416c0e 100644
--- a/build.ant
+++ b/build.ant
@@ -62,8 +62,15 @@
</delete>
</target>
+ <target name="version-tag">
+ <exec dir="${basedir}" executable="/usr/bin/git" output="res/templates/fragment/version.txt">
+ <arg line="describe" />
+ </exec>
+
+ </target>
+
<target name="deploy-local"
- depends="deploy-local.clean"
+ depends="deploy-local.clean,version-tag"
description="locally deploy webapp">
<!-- [!] trailing '/' on rsync src targets critical -->