Post-build step: renaming the zip artifact
This commit is contained in:
Generated
+8
@@ -42,6 +42,14 @@
|
||||
<maximumStackSize value="2" />
|
||||
<properties />
|
||||
</buildFile>
|
||||
<buildFile url="file://$PROJECT_DIR$/plugin_post_build.xml">
|
||||
<additionalClassPath />
|
||||
<antReference projectDefault="true" />
|
||||
<customJdkName value="" />
|
||||
<maximumHeapSize value="128" />
|
||||
<maximumStackSize value="2" />
|
||||
<properties />
|
||||
</buildFile>
|
||||
</component>
|
||||
</project>
|
||||
|
||||
|
||||
Generated
+6
@@ -1,6 +1,12 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="jar" name="KotlinPlugin">
|
||||
<output-path>$PROJECT_DIR$/out/artifacts/KotlinPlugin</output-path>
|
||||
<properties id="ant-postprocessing">
|
||||
<options enabled="true">
|
||||
<file>file://$PROJECT_DIR$/plugin_post_build.xml</file>
|
||||
<target>renamePluginZip</target>
|
||||
</options>
|
||||
</properties>
|
||||
<root id="archive" name="KotlinPlugin.zip">
|
||||
<element id="directory" name="Kotlin">
|
||||
<element id="directory" name="lib">
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<project name="Kotlin Plugin Post-build Step">
|
||||
|
||||
<property name="artifact.output.path" value="${basedir}/out/artifacts/KotlinPlugin"/>
|
||||
<property name="build.number" value="snapshot"/>
|
||||
|
||||
<target name="renamePluginZip">
|
||||
<!-- Rename the zip to kotlin-plugin-${build}.zip-->
|
||||
<echo message="${artifact.output.path}"/>
|
||||
<move file="${artifact.output.path}/KotlinPlugin.zip" tofile="kotlin-plugin-${build.number}.zip">
|
||||
</move>
|
||||
</target>
|
||||
</project>
|
||||
Reference in New Issue
Block a user