fix build.xml with default tag message and main version

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@555 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2009-11-16 20:51:00 +00:00
parent 8804a25f42
commit a527c584f8

View file

@ -8,6 +8,7 @@
--> -->
<property file="build.properties" /> <property file="build.properties" />
<property name="version-m" value="0.95" />
<property name="version" value="0.95.1" /> <property name="version" value="0.95.1" />
<property name="zipfile" value="${phing.project.name}-${version}.zip" /> <property name="zipfile" value="${phing.project.name}-${version}.zip" />
<property name="distfile" value="dist/${zipfile}" /> <property name="distfile" value="dist/${zipfile}" />
@ -65,8 +66,8 @@
> >
<delete dir="dist/deploy-sf" /><!-- make empty --> <delete dir="dist/deploy-sf" /><!-- make empty -->
<mkdir dir="dist/deploy-sf" /> <mkdir dir="dist/deploy-sf" />
<mkdir dir="dist/deploy-sf/v${version}" /> <mkdir dir="dist/deploy-sf/v${version-m}" />
<copy file="${distfile}" tofile="dist/deploy-sf/v${version}/${zipfile}"/> <copy file="${distfile}" tofile="dist/deploy-sf/v${version-m}/${zipfile}"/>
<!-- test <!-- test
<exec command="rsync -av dist/deploy-sf/ /tmp/test/" escape="false" /> <exec command="rsync -av dist/deploy-sf/ /tmp/test/" escape="false" />
--> -->
@ -83,7 +84,7 @@
description="create the svn tag for the current version" description="create the svn tag for the current version"
> >
<exec <exec
command="svn cp ${svnpath}trunk ${svnpath}/tags/${version}" command="svn cp ${svnpath}trunk ${svnpath}/tags/${version} -m 'tag version ${version}'"
escape="false" checkreturn="true" escape="false" checkreturn="true"
/> />
</target> </target>