]> WPIA git - gigi.git/commitdiff
Merge "chg: jar version to match the version generated for the package"
authorFelix Dörre <felix@dogcraft.de>
Tue, 30 Jan 2018 23:44:47 +0000 (00:44 +0100)
committerGerrit Code Review <gigi-system@dogcraft.de>
Tue, 30 Jan 2018 23:44:47 +0000 (00:44 +0100)
build.xml

index d5b95abc1b0d4ae95d2a715f453b1a4491a66652..abf1e3b1f9f2c434ab1fe755acc7ec940b0a278c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -84,9 +84,9 @@
        <target depends="clean,clean-test" name="cleanall" />
        <target depends="build-project, build-testing, native" name="build" />
        <target depends="init" name="build-project">
-               <exec outputproperty="git-version" executable="git">
-                       <arg line="rev-parse"/>
-                       <arg line="HEAD"/>
+               <exec outputproperty="git-version" executable="sh">
+                       <arg value="-c"/>
+                       <arg value="git describe HEAD --tags --match &quot;v*&quot; | sed &quot;s/^v//&quot;"/>
                </exec>
                <manifest file="Gigi.MF">
                        <attribute name="Main-Class" value="club.wpia.gigi.Launcher" />