1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

switch build infrastructure to git

This commit is contained in:
Jesse Vincent 2011-02-05 21:45:12 -05:00
parent cc9d6ac5ea
commit 35fcbd3428

View File

@ -95,7 +95,7 @@
</target> </target>
<!-- rules --> <!-- rules -->
<target name="bump-version" depends="set-version,commit-version,git-tag,git-svn-tag"> <target name="bump-version" depends="set-version,commit-version,git-tag">
<echo>Bumping K-9 to ${version-name}</echo> <echo>Bumping K-9 to ${version-name}</echo>
</target> </target>
@ -104,17 +104,12 @@
<arg line="tag ${version-name}"/> <arg line="tag ${version-name}"/>
</exec> </exec>
</target> </target>
<target name="git-svn-tag">
<exec executable="git" failonerror="true">
<arg line="svn tag ${version-name}"/>
</exec>
</target>
<target name="commit-version"> <target name="commit-version">
<exec executable="git" failonerror="true"> <exec executable="git" failonerror="true">
<arg line="commit -m'Bumped manifest to ${version-name}' AndroidManifest.xml"/> <arg line="commit -m'Bumped manifest to ${version-name}' AndroidManifest.xml"/>
</exec> </exec>
<exec executable="git" failonerror="true"> <exec executable="git" failonerror="true">
<arg line="svn dcommit"/> <arg line="push"/>
</exec> </exec>
</target> </target>
@ -175,7 +170,6 @@
<echo> device.</echo> <echo> device.</echo>
<echo> bump-version: ant -Dversion-name=3.123</echo> <echo> bump-version: ant -Dversion-name=3.123</echo>
<echo> Bumps the project version to 3.123,tags and commits it</echo> <echo> Bumps the project version to 3.123,tags and commits it</echo>
<echo> (Only works under git-svn)</echo>
</target> </target>
</project> </project>