Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (31 sloc) 1.607 kb
3fdfe33 @stuartherbert Upgraded skeleton files
authored
1 <project name="local" default="help">
2 <target name="help">
a20e05f @stuartherbert Automated a few useful dev tasks
authored
3 <echo message="This component has the following additional commands:" />
4 <echo message=""/>
5 <echo message="git-tag" />
6 <echo message=" Tag the current version in git" />
7 <echo message="" />
8 <echo message="git-force-tag" />
9 <echo message=" Force tag the current version in git (use with caution!)" />
10 <echo message="" />
11 <echo message="publish-and-push" />
12 <echo message=" Git push to upstream, publish to PEAR channel" />
13 <echo message="" />
14 <echo message="tpp - tag, publish, and push" />
15 <echo message=" Git tag, push to upstream, publish to PEAR channel" />
16 <echo message="" />
17 </target>
18
19 <target name="git-tag">
20 <exec command="git tag -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}" logoutput="true" checkreturn="true" />
21 </target>
22 <target name="git-force-tag">
23 <exec command="git tag -f -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}" logoutput="true" checkreturn="true" />
24 </target>
25 <target name="publish-and-push" depends="publish-local">
26 <exec command="git push --mirror" logoutput="true" checkreturn="true" />
27 </target>
28 <target name="tpp" depends="git-force-tag, publish-local">
29 <exec command="git push --mirror" logoutput="true" checkreturn="true" />
30 </target>
be9b44b @stuartherbert Updated skeleton files
authored
31 </project>
a20e05f @stuartherbert Automated a few useful dev tasks
authored
32 <!-- vim: set tabstop=2 shiftwidth=2 expandtab: -->
Something went wrong with that request. Please try again.