Fixed the Plugin Publisher.

This commit is contained in:
Zalim Bashorov
2013-07-25 20:13:37 +04:00
parent 387bf2601b
commit db2711c147
+7 -1
View File
@@ -4,8 +4,14 @@
eap - for getting idea from eap page
release - for getting idea from download site
version - idea version
actual.branch - current branch name
expected.branch - "verifyAndPublish" target will work only if actual and expected branches is equal
-->
<condition property="is.expected.branch">
<equals arg1="${actual.branch}" arg2="${expected.branch}" />
</condition>
<property name="idea.eap.download.page.url" value="http://confluence.jetbrains.com/display/IDEADEV/IDEA+${version}+EAP"/>
<property name="idea.release.download.page.url" value="http://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"/>
@@ -47,7 +53,7 @@
<property name="download.url" value="${idea.release.download.page.url}" />
</target>
<target name="verifyAndPublish" depends="setEapDownload, setReleasedDownload">
<target name="verifyAndPublish" depends="setEapDownload, setReleasedDownload" if="is.expected.branch">
<echo message="External parameters: ${eap} Release ${release} Version ${version}" />
<!-- Download and extract IDEA -->