Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Putting back buildNumber for TC until fixed

  • Loading branch information...
commit 442947fe5c94264e05543306cf114b5c00b90411 1 parent dbd1219
@danielmarbach danielmarbach authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 rakefile.rb
View
6 rakefile.rb
@@ -42,6 +42,9 @@
configatron.version.full = Configatron::Delayed.new do
open("|Tools/GitFlowVersion/GitFlowVersion.exe").read().scan(/NugetVersion":"(.*)"/)[0][0][0,20]
end
+ configatron.version.short = Configatron::Delayed.new do
+ open("|Tools/GitFlowVersion/GitFlowVersion.exe").read().scan(/ShortVersion":"(.*)"/)[0][0]
+ end
configatron.configure_from_hash build_config
#configatron.protect_all!
@@ -117,6 +120,9 @@
end
task :templates do
+ #Write teamcity build number
+ puts "##teamcity[buildNumber '#{configatron.version.short}']"
+
#Prepare templates
FileList.new('**/*.template').each do |template|
QuickTemplate.new(template).exec(configatron)
Please sign in to comment.
Something went wrong with that request. Please try again.