Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed stupid bug :)

  • Loading branch information...
commit fc8c4a39ede9043779a89a101db052865c48c6ac 1 parent fc53f7d
Steven Robbins authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rakefile.rb
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.