aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/build.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 50aed8b059..e74c43ddfa 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -313,6 +313,10 @@
</patternset>
</tarfileset>
</tar>
+
+ <!-- Only the Linux package is currently required for calculating these. -->
+ <!-- Notice that the differences comparison is conditional. -->
+ <antcall target="differences"/>
</target>
<target name="internal-package-oophm">
@@ -1260,11 +1264,13 @@
<!-- Difference to previous release package. -->
<!-- ================================================================== -->
- <target name="differences" depends="init, internal-package-linux">
+ <!-- This should be called after the Linux package is ready. -->
+ <target name="differences" if="build.differences">
<exec executable="python" searchpath="true" failonerror="true" output="${result-path}/differences-linux.txt">
<arg value="build/bin/package-diff.py"/>
<arg value="${version.full}"/>
</exec>
+
<echo>##teamcity[publishArtifacts '${result-path}/differences-linux.txt']</echo>
</target>