Allow the release version to be specified on the command line.

This commit is contained in:
Michael Bayne
2010-08-27 17:57:38 +00:00
parent 6f7527ec6b
commit aa879c3019
+2 -1
View File
@@ -176,7 +176,8 @@
</target>
<target name="publish" depends="dist" description="Publishes jar to local repository.">
<ivy:publish resolver="local" pubrevision="1.0">
<property name="release" value="1.0"/>
<ivy:publish resolver="local" pubrevision="${release}">
<artifacts pattern="${deploy.dir}/[artifact].[ext]" />
</ivy:publish>
</target>