Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Prerelease #885

Merged
merged 2 commits into from Jan 3, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion rakefile.rb
Expand Up @@ -209,7 +209,7 @@ 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)

return result[1] if !result.nil?
end
Expand All @@ -220,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)
Expand Down
1 change: 1 addition & 0 deletions src/SharedAssemblyInfo.cs
Expand Up @@ -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")]