-
Notifications
You must be signed in to change notification settings - Fork 127
/
release.xml
30 lines (26 loc) · 1.11 KB
/
release.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<project>
<property name="version" value="3.0.203.114"/>
<target name="releaseClean">
<delete file="idea-multimarkdown.zip"/>
</target>
<target name="releaseUpdateXmlMerge">
<copy file="out/artifacts/xmlmerge.jar" tofile="xmlmerge.jar"/>
</target>
<target name="releaseLegacy">
<zip destfile="idea-multimarkdown.zip">
<zipfileset dir="." prefix="idea-multimarkdown" includes="lib/*.jar" excludes="lib/*sources*"/>
<zipfileset dir="out/artifacts" prefix="idea-multimarkdown/lib" includes="*.jar" excludes="plugin-test-util.jar"/>
<zipfileset dir="assets" prefix="idea-multimarkdown" includes="emojis/**"/>
</zip>
</target>
<target name="releasePluginXML">
<java jar="xmlmerge.jar" fork="true">
<arg value="-v${version}"/>
<arg value="-s"/>
<arg value="product-descriptor.xml"/>
<arg value="src/main/META-INF/basic-plugin.xml"/>
<arg value="src/main/resources/META-INF/plugin.xml"/>
</java>
</target>
</project>