Add --tags to git describe to we pick up the 2.4 tag
[potlatch2.git] / build.xml
index b3293e0..9bf885b 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -20,6 +20,7 @@
   <target name="git-buildnumber" description="Store output from git-describe in ${buildnumber}" if="git.present">
     <exec outputproperty="build_number" executable="git" dir="${basedir}">
       <arg value="describe" />
+      <arg value="--tags" />
     </exec>
   </target>