Permalink
Browse files

Add more verbose output to the various commands.

  • Loading branch information...
1 parent 1644b1c commit 90423dcfacaead5a6c1b4ec324eeea8d6386b8f8 @markstory markstory committed Jan 8, 2012
Showing with 5 additions and 8 deletions.
  1. +5 −8 build.xml
View
@@ -162,18 +162,16 @@
</exec>
<echo msg="Version number updated." />
<property name="version" value="${release_version}" override="true" />
- <echo msg="${version}" />
- <echo msg="${release_version}" />
</target>
<!--
Create the release commit that updates the version number and pushes the commits.
-->
<target name="release-commit" depends="next-version,prepare">
<echo msg="Creating new release commit" />
- <exec command="git add ./lib/Cake/VERSION.txt" checkreturn="true" />
- <exec command="git commit -m 'Update version number to ${release_version}'" checkreturn="true" />
- <exec command="git tag -a ${release_version} -m 'CakePHP ${release_version}'" checkreturn="true" />
+ <exec command="git add ./lib/Cake/VERSION.txt" logoutput="true" checkreturn="true" />
+ <exec command="git commit -m 'Update version number to ${release_version}'" logoutput="true" checkreturn="true" />
+ <exec command="git tag -a ${release_version} -m 'CakePHP ${release_version}'" logoutput="true" checkreturn="true" />
<propertyprompt propertyName="shipit" defaultValue="n" promptText="Ship the new commit and tag?" />
<condition property="noshipit" value="1">
@@ -182,8 +180,8 @@
<fail if="noshipit" msg="You said not to ship it." />
<echo msg="Pushing commit and tag." />
- <exec command="git push ${git.remote}" checkreturn="true" />
- <exec command="git push ${git.remote} ${release_version}" checkreturn="true" />
+ <exec command="git push ${git.remote}" logoutput="true" checkreturn="true" />
+ <exec command="git push ${git.remote} ${release_version}" logoutput="true" checkreturn="true" />
<echo msg="Push complete." />
</target>
@@ -204,5 +202,4 @@
<target name="build" depends="generate-package" />
<target name="release" depends="release-commit,build,distribute" />
-
</project>

0 comments on commit 90423dc

Please sign in to comment.