Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: Release 1.3
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
In the move to maven, we lost the old ant automation for creating a release zip. In order to release 1.3.0-alpha6, I am using the following ant XML I hacked together:
<target name="dist"> <property name="clojure.version.label" value="clojure-1.3.0-alpha6"/> <property name="distdir" value="dist/${clojure.version.label}"/> <mkdir dir="${distdir}"/> <copy todir="${distdir}" includeEmptyDirs="false"> <fileset dir="${basedir}"> <include name="*.xml"/> <include name="**/*.html"/> <include name="**/*.txt"/> <include name="**/*.markdown"/> <include name="**/*.clj"/> <include name="**/*.java"/> </fileset> </copy> <copy file="clojure.jar" todir="${distdir}"/> <zip basedir="dist" destfile="clojure-${clojure.version.label}.zip"/> </target>
What I need is something like this, but properly parameterized and integrated into the maven build, so I can grab it from hudson or central or somewhere after a release build.
The POM has this set up already. Just run "mvn -Pdistribution package" to build a .zip file
This is in the README. Let me know if anything needs to be added/removed/changed.