Skip to content

Commit

Permalink
Changed Nant variable which holds the build version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltoken committed Oct 22, 2009
1 parent c119143 commit be01352
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions GitSharp.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<echo message="path.base = ${path.base}" />

<!-- Revision version detection. If build.vcs.number hasn't been passed through command line argument, version revision is set to 'local-build' -->
<property name="build.vcs.number" value="" overwrite="false"/>
<property name="build.vcs.number.1" value="" overwrite="false"/>
<property name="version.revision" value="local-build" />

<if test="${(string::get-length(build.vcs.number) != 0)}">
<property name="version.revision" value="${build.vcs.number}" />
<if test="${(string::get-length(build.vcs.number.1) != 0)}">
<property name="version.revision" value="${build.vcs.number.1}" />
</if>

<!--<property name="version.major" value="${version::get-major(version::parse(version))}" dynamic="true"/>
Expand Down
2 changes: 1 addition & 1 deletion package-GitSharp.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tools\nant\nant.exe "-buildfile:GitSharp.build" "-t:net-3.5" "-D:build.config=release" "-D:build.vcs.number=%BUILD_VCS_NUMBER%" clean dist
tools\nant\nant.exe "-buildfile:GitSharp.build" "-t:net-3.5" "-D:build.config=release" "-D:build.vcs.number.1=%BUILD_VCS_NUMBER%" clean dist
2 changes: 1 addition & 1 deletion runtests-GitSharp.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tools\nant\nant.exe "-buildfile:GitSharp.build" "-t:net-3.5" "-D:build.config=debug" "-D:build.vcs.number=%BUILD_VCS_NUMBER%"
tools\nant\nant.exe "-buildfile:GitSharp.build" "-t:net-3.5" "-D:build.config=debug" "-D:build.vcs.number.1=%BUILD_VCS_NUMBER%"

0 comments on commit be01352

Please sign in to comment.