We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d011845 commit ce9a7fdCopy full SHA for ce9a7fd
build-common.xml
@@ -13,8 +13,9 @@
13
<attribute name="outputproperty"/>
14
<sequential>
15
<local name="git.present"/>
16
+ <local name="git.revision"/>
17
<available file="@{repository}/.git" property="git.present"/>
- <exec executable="git" outputproperty="git.revision" failifexecutionfails="false">
18
+ <exec executable="git" dir="@{repository}" outputproperty="git.revision" failifexecutionfails="false">
19
<arg line="describe --dirty --tags --always"/>
20
</exec>
21
<condition property="@{outputproperty}" value="${git.revision}" else="unknown">
0 commit comments