comparison build.xml @ 133:ea7972ed3ab7

Setup snapshot builds
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Thu, 14 Oct 2010 16:11:17 +0400
parents 60d67a1e5502
children dbb5b9f3069b
comparison
equal deleted inserted replaced
132:36aa8dfa9aab 133:ea7972ed3ab7
3 <import file="mercurial.xml"/> 3 <import file="mercurial.xml"/>
4 4
5 <property name="distPath" value="${basedir}/dist"/> 5 <property name="distPath" value="${basedir}/dist"/>
6 6
7 <property name="plugin.name" value="mercurial"/> 7 <property name="plugin.name" value="mercurial"/>
8
9 <property name="build.number" value=""/>
10 <tstamp>
11 <format property="timestamp" pattern="yyyyMMddhhmmss"/>
12 </tstamp>
13 <property name="snapshot.build.number" value="SNAPSHOT-${timestamp}"/>
14 <property name="build.vcs.number" value=""/>
15
16 <condition property="plugin.version" value="${snapshot.build.number}" else="${build.number}">
17 <matches pattern="snapshot-.*" string="${build.number}" casesensitive="false"/>
18 </condition>
8 19
9 <import file="teamcity-common.xml"/> 20 <import file="teamcity-common.xml"/>
10 21
11 <target name="package" depends="define.version"> 22 <target name="package" depends="define.version">
12 <package.teamcity.plugin name="${plugin.name}" 23 <package.teamcity.plugin name="${plugin.name}"