forked from Gradwell/CommandLineLib
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.local.xml
More file actions
Latest commit
32 lines (31 loc) · 1.57 KB
/
Copy pathbuild.local.xml
File metadata and controls
32 lines (31 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<projectname="local"default="help">
<targetname="help">
<echomessage="This component has the following additional commands:" />
<echomessage=""/>
<echomessage="git-tag" />
<echomessage=" Tag the current version in git" />
<echomessage="" />
<echomessage="git-force-tag" />
<echomessage=" Force tag the current version in git (use with caution!)" />
<echomessage="" />
<echomessage="publish-and-push" />
<echomessage=" Git push to upstream, publish to PEAR channel" />
<echomessage="" />
<echomessage="tpp - tag, publish, and push" />
<echomessage=" Git tag, push to upstream, publish to PEAR channel" />
<echomessage="" />
</target>
<targetname="git-tag">
<execcommand="git tag -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}"logoutput="true"checkreturn="true" />
</target>
<targetname="git-force-tag">
<execcommand="git tag -f -a -m 'Release ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}' ${project.majorVersion}.${project.minorVersion}.${project.patchLevel}"logoutput="true"checkreturn="true" />
</target>
<targetname="publish-and-push"depends="publish-local">
<execcommand="git push --mirror"logoutput="true"checkreturn="true" />
</target>
<targetname="tpp"depends="git-force-tag, publish-local">
<execcommand="git push --mirror"logoutput="true"checkreturn="true" />
</target>
</project>
<!-- vim: set tabstop=2 shiftwidth=2 expandtab: -->