提交 9d635d6a 编写于 作者: M mindless

use "1.###-RC (date)" as build.version for rc build


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30881 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a79c1635
......@@ -125,6 +125,13 @@ THE SOFTWARE.
<format property="now" pattern="MM/dd/yyyy hh:mm" unit="hour" />
</tstamp>
<property name="build.type" value="private" /> <!-- override for "rc" build -->
<pathconvert property="version.rc">
<path path="${version}"/>
<chainedmapper><flattenmapper/><globmapper from="*-SNAPSHOT" to="*-RC"/></chainedmapper>
</pathconvert>
<condition property="build.version" value="${version.rc} (${now})">
<equals arg1="${build.type}" arg2="rc"/>
</condition>
<property name="build.version" value="${version} (${build.type}-${now}-${user.name})" />
<!-- default to release version -->
<!-- put the version file -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册