Permalink
Browse files
Updates for creating pre-release packages
- Loading branch information...
Showing
with
3 additions
and
1 deletion.
-
+2
−1
rakefile.rb
-
+1
−0
src/SharedAssemblyInfo.cs
|
@@ -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