Fixed the Plugin Publisher.
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user