Browse Source

Add distribute task.

Once the pear channel is setup, this will publish tar
files to the pear channel.
mark_story 14 years ago
parent
commit
393bc7f1e5
1 changed files with 14 additions and 3 deletions
  1. 14 3
      build.xml

+ 14 - 3
build.xml

@@ -133,6 +133,9 @@
 		<echo msg="Version number updated." />
 	</target>
 
+	<!--
+		Create the release commit that updates the version number and pushes the commits.
+	-->
 	<target name="release-commit" depends="prepare,next-version">
 		<echo msg="Creating new release commit" />
 		<exec command="git add ./lib/Cake/VERSION.txt" />
@@ -152,10 +155,18 @@
 		<echo msg="Pushed commit and tag." />
 	</target>
 
+	<!--
+		Upload to pirium pear channel.
+	-->
+	<target name="distribute">
+		
+	</target>
 
-	<!-- top level easy to type targets -->
-	<target name="build" depends="generate-package" />
-	<target name="release" depends="release-commit,build" />
 
+	<!--
+		Top level easy to type targets
+	-->
+	<target name="build" depends="generate-package" />
+	<target name="release" depends="release-commit,build,distribute" />
 
 </project>