Skip to content

Commit 0f31f31

Browse files
committed
informational version
1 parent a6a544a commit 0f31f31

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

RakeFile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ namespace :source do
6767
desc 'Update assembly info with latest version number'
6868
assemblyinfo :update_version do |info|
6969
info.output_file = PROPS
70-
7170
commit_hash = `git log -1 --format="%H%"`
7271

7372
info.version = info.file_version = get_version
73+
info.informational_version = Platform.config['version']
7474
info.company_name = 'http://fluentnhibernate.org'
7575
info.product_name = 'FluentNHibernate'
7676
info.description = commit_hash[0..(commit_hash.length - 3)]
@@ -188,7 +188,7 @@ namespace :package do
188188
update_xml NUSPEC do |xml|
189189
xml.root.elements["metadata/id"].text = config['id']
190190
xml.root.elements["metadata/title"].text = config['title']
191-
xml.root.elements["metadata/version"].text = get_version
191+
xml.root.elements["metadata/version"].text = config['version']
192192

193193
xml.root.elements["metadata/dependencies/dependency[@id='NHibernate']"].attributes['version'] = config['nhibernate_version_interval']
194194

config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"framework_version": 4.0,
3-
"default_version_number": "2.0.0.1",
3+
"default_version_number": "2.0.1.0",
4+
"version": "2.0.1-alpha",
45
"build":
56
{
67
"nh_precompiler_switch": "4.x",
@@ -14,6 +15,7 @@
1415
"nuspec":
1516
{
1617
"id": "FluentNHibernate",
18+
"version": "2.0.1-alpha",
1719
"title": "FluentNHibernate",
1820
"nhibernate_version_interval": "4.0",
1921
"binaries_folder": "net40"

0 commit comments

Comments
 (0)