Permalink
Browse files

Updates for creating pre-release packages

  • Loading branch information...
grumpydev committed Jan 3, 2013
1 parent 6b2f1b1 commit fc53f7de1bb50776af7cb569e528ef16d2e33ead
Showing with 3 additions and 1 deletion.
  1. +2 −1 rakefile.rb
  2. +1 −0 src/SharedAssemblyInfo.cs
View
@@ -209,7 +209,8 @@ def get_assembly_version(file)
File.open(file, 'r') do |file|
file.each_line do |line|
- result = /\[assembly: AssemblyVersion\(\"(.*?)\"\)\]/.match(line)
+ result = /\[assembly: AssemblyInformationalVersion\(\"(.*?)\"\)\]/.match(line)
+ result = /\[assembly: AssemblyVersion\(\"(.*?)\"\)\]/.match(line) if result.nil?
return result[1] if !result.nil?
end
@@ -6,6 +6,7 @@
[assembly: AssemblyProduct("Nancy")]
[assembly: AssemblyCopyright("Copyright (C) Andreas Hakansson, Steven Robbins and contributors")]
[assembly: AssemblyVersion("0.14.1")]
+[assembly: AssemblyInformationalVersion("0.14.1")]

0 comments on commit fc53f7d

Please sign in to comment.