Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates for creating pre-release packages

  • Loading branch information...
commit fc53f7de1bb50776af7cb569e528ef16d2e33ead 1 parent 6b2f1b1
@grumpydev authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  rakefile.rb
  2. +1 −0  src/SharedAssemblyInfo.cs
View
3  rakefile.rb
@@ -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
View
1  src/SharedAssemblyInfo.cs
@@ -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")]
Please sign in to comment.
Something went wrong with that request. Please try again.