Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Modified build script to support build number from TeamCity.

  • Loading branch information...
commit 74725744404f43f91adaf610d83ab1b23f8ca3cc 1 parent fff0bb4
Kristoffer Ahl authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 Build/Scripts/Build.build
View
8 Build/Scripts/Build.build
@@ -36,8 +36,10 @@
<!-- COMMON ASSEMBLY INFO
Properties used when creating the common assembly info file
-->
- <property name="project.version.number" value="2.0.0" />
+ <property name="build.number" value="0" />
+ <property name="project.version.number" value="2.0.0.${build.number}" />
<property name="project.version.label" value="2.0.0-alpha2" /><!-- Example: 1.0.0-beta1 -->
+ <property name="project.version.label" value="${project.version.label}-build${build.number}" if="${build.number != '0'}" />
<property name="project.config" value="release" />
<!-- PROJECTS TO BUILD
@@ -103,8 +105,8 @@
<target name="AssemblyInfo" description="Create CommonAssemblyInfo">
- <property name="assembly-version" value="${project.version.number}.0000" />
- <property name="assembly-file-version" value="${project.version.number}.0000" />
+ <property name="assembly-version" value="${project.version.number}" />
+ <property name="assembly-file-version" value="${project.version.number}" />
<asminfo output="..\..\CommonAssemblyInfo.cs" language="CSharp" verbose="${verbose}">
<imports>

0 comments on commit 7472574

Please sign in to comment.
Something went wrong with that request. Please try again.