]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix build.xml with default tag message and main version
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 16 Nov 2009 20:51:00 +0000 (20:51 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 16 Nov 2009 20:51:00 +0000 (20:51 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@555 b3834d28-1941-0410-a4f8-b48e95affb8f

build.xml

index bac7fda2e68bba81037ae24b773b72c755875173..4feef165136ef057a4881f49216b93dc9088a865 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -8,6 +8,7 @@
   -->
   <property file="build.properties" />
 
+  <property name="version-m"  value="0.95" />
   <property name="version"    value="0.95.1" />
   <property name="zipfile"    value="${phing.project.name}-${version}.zip" />
   <property name="distfile"   value="dist/${zipfile}" />
@@ -65,8 +66,8 @@
    >
     <delete dir="dist/deploy-sf" /><!-- make empty -->
     <mkdir dir="dist/deploy-sf" />
-    <mkdir dir="dist/deploy-sf/v${version}" />
-    <copy file="${distfile}" tofile="dist/deploy-sf/v${version}/${zipfile}"/>
+    <mkdir dir="dist/deploy-sf/v${version-m}" />
+    <copy file="${distfile}" tofile="dist/deploy-sf/v${version-m}/${zipfile}"/>
     <!-- test
     <exec command="rsync -av dist/deploy-sf/ /tmp/test/" escape="false" />
     -->
@@ -83,7 +84,7 @@
    description="create the svn tag for the current version"
    >
     <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"
      />
   </target>