mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Add more verbose output to the various commands.
This commit is contained in:
parent
1644b1c249
commit
90423dcfac
1 changed files with 5 additions and 8 deletions
13
build.xml
13
build.xml
|
@ -162,8 +162,6 @@
|
|||
</exec>
|
||||
<echo msg="Version number updated." />
|
||||
<property name="version" value="${release_version}" override="true" />
|
||||
<echo msg="${version}" />
|
||||
<echo msg="${release_version}" />
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
@ -171,9 +169,9 @@
|
|||
-->
|
||||
<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>
|
||||
|
|
Loading…
Add table
Reference in a new issue