Permalink
Browse files

Fixed stupid bug :)

  • Loading branch information...
1 parent fc53f7d commit fc8c4a39ede9043779a89a101db052865c48c6ac @grumpydev grumpydev committed Jan 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 rakefile.rb
View
@@ -210,7 +210,6 @@ def get_assembly_version(file)
File.open(file, 'r') do |file|
file.each_line do |line|
result = /\[assembly: AssemblyInformationalVersion\(\"(.*?)\"\)\]/.match(line)
- result = /\[assembly: AssemblyVersion\(\"(.*?)\"\)\]/.match(line) if result.nil?
return result[1] if !result.nil?
end
@@ -221,6 +220,7 @@ def get_assembly_version(file)
$nancy_version = get_assembly_version SHARED_ASSEMBLY_INFO
puts "Version: #{$nancy_version}"
+
#TODO:
#-----
# 8. Git info into shared assemby info (see fubumvc sample, also psake sample in mefcontrib)

0 comments on commit fc8c4a3

Please sign in to comment.