uses major/minor/patch versions before incrementing them
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6722 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
9235280846
commit
9d5bb419c7
18
build.xml
18
build.xml
|
@ -875,21 +875,26 @@ GENERATES A DISTRIBUTION
|
|||
</target>
|
||||
|
||||
<target name="dist.patch" depends="init">
|
||||
<property file="${number.file}"/>
|
||||
<property
|
||||
name="version.number"
|
||||
value="${version.major}.${version.minor}.${version.patch}"
|
||||
/>
|
||||
<propertyfile
|
||||
file="${number.file}"
|
||||
comment="Version last updated on ${time.human}"
|
||||
>
|
||||
<entry key="version.patch" type="int" default="0" operation="+"/>
|
||||
</propertyfile>
|
||||
<runtarget target="dist"/>
|
||||
</target>
|
||||
|
||||
<target name="dist.minor" depends="init">
|
||||
<property file="${number.file}"/>
|
||||
<property
|
||||
name="version.number"
|
||||
value="${version.major}.${version.minor}.${version.patch}"
|
||||
/>
|
||||
<runtarget target="dist"/>
|
||||
</target>
|
||||
|
||||
<target name="dist.minor" depends="init">
|
||||
<propertyfile
|
||||
file="${number.file}"
|
||||
comment="Version last updated on ${time.human}"
|
||||
|
@ -897,11 +902,6 @@ GENERATES A DISTRIBUTION
|
|||
<entry key="version.minor" type="int" default="0" operation="+"/>
|
||||
<entry key="version.patch" type="int" value="0"/>
|
||||
</propertyfile>
|
||||
<property file="${number.file}"/>
|
||||
<property
|
||||
name="version.number"
|
||||
value="${version.major}.${version.minor}.${version.patch}"
|
||||
/>
|
||||
<runtarget target="dist"/>
|
||||
</target>
|
||||
|
||||
|
|
Loading…
Reference in New Issue