mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add distribute task.
Once the pear channel is setup, this will publish tar files to the pear channel.
This commit is contained in:
parent
ce80a78763
commit
393bc7f1e5
1 changed files with 14 additions and 3 deletions
17
build.xml
17
build.xml
|
@ -133,6 +133,9 @@
|
||||||
<echo msg="Version number updated." />
|
<echo msg="Version number updated." />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Create the release commit that updates the version number and pushes the commits.
|
||||||
|
-->
|
||||||
<target name="release-commit" depends="prepare,next-version">
|
<target name="release-commit" depends="prepare,next-version">
|
||||||
<echo msg="Creating new release commit" />
|
<echo msg="Creating new release commit" />
|
||||||
<exec command="git add ./lib/Cake/VERSION.txt" />
|
<exec command="git add ./lib/Cake/VERSION.txt" />
|
||||||
|
@ -152,10 +155,18 @@
|
||||||
<echo msg="Pushed commit and tag." />
|
<echo msg="Pushed commit and tag." />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Upload to pirium pear channel.
|
||||||
|
-->
|
||||||
|
<target name="distribute">
|
||||||
|
|
||||||
|
</target>
|
||||||
|
|
||||||
<!-- top level easy to type targets -->
|
|
||||||
|
<!--
|
||||||
|
Top level easy to type targets
|
||||||
|
-->
|
||||||
<target name="build" depends="generate-package" />
|
<target name="build" depends="generate-package" />
|
||||||
<target name="release" depends="release-commit,build" />
|
<target name="release" depends="release-commit,build,distribute" />
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue