Allow the release version to be specified on the command line.
This commit is contained in:
+2
-1
@@ -176,7 +176,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="publish" depends="dist" description="Publishes jar to local repository.">
|
<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]" />
|
<artifacts pattern="${deploy.dir}/[artifact].[ext]" />
|
||||||
</ivy:publish>
|
</ivy:publish>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
Reference in New Issue
Block a user