Skip to content

Commit e81de22

Browse files
committed
specify NuGet package version separate of AssemblyVersion; update NuGet to 2.8.x
1 parent 672cd2b commit e81de22

File tree

6 files changed

+11
-29
lines changed

6 files changed

+11
-29
lines changed

FluentNHibernate.Net35.nuspec

Lines changed: 0 additions & 22 deletions
This file was deleted.

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
source 'https://rubygems.org'
22

33
source 'https://rubygems.org'
4+
gem 'rake', '~>10.3.2'
45
gem 'albacore', '~>1.0.0.rc2'

RakeFile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace :source do
7171
commit_hash = `git log -1 --format="%H%"`
7272

7373
info.version = info.file_version = get_version
74+
info.informational_version = Platform.config['version']
7475
info.company_name = 'http://fluentnhibernate.org'
7576
info.product_name = 'FluentNHibernate'
7677
info.description = commit_hash[0..(commit_hash.length - 3)]
@@ -188,7 +189,7 @@ namespace :package do
188189
update_xml NUSPEC do |xml|
189190
xml.root.elements["metadata/id"].text = config['id']
190191
xml.root.elements["metadata/title"].text = config['title']
191-
xml.root.elements["metadata/version"].text = get_version
192+
xml.root.elements["metadata/version"].text = config['version']
192193

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

config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"framework_version": 3.5,
33
"default_version_number": "1.4.1.0",
4+
"version": "1.4.1-alpha",
45
"build":
56
{
67
"nh_precompiler_switch": "3.x",
@@ -14,6 +15,7 @@
1415
"nuspec":
1516
{
1617
"id": "FluentNHibernate.Net35",
18+
"version": "1.4.1-alpha",
1719
"title": "FluentNHibernate for .Net 3.5",
1820
"nhibernate_version_interval": "[3.3.1.4000,4.0)",
1921
"binaries_folder": "net35"

src/FluentNHibernate.nuspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
<package xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
33
<metadata xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'>
44
<id>FluentNHibernate.Net35</id>
5-
<title>FluentNHibernate for .Net 3.5</title>
6-
<version>1.4.1.0</version>
5+
<title>FluentNHibernate for .Net 3.5</title>
6+
<version>1.4.1-alpha</version>
77
<authors>James Gregory and contributors</authors>
88
<owners>jagregory, chester89</owners>
99
<licenseUrl>http://github.com/jagregory/fluent-nhibernate/raw/master/LICENSE.txt</licenseUrl>
1010
<projectUrl>http://fluentnhibernate.org</projectUrl>
11-
<dependencies>
12-
<dependency id='NHibernate' version='[3.3.1.4000,4.0)' />
13-
</dependencies>
11+
<dependencies>
12+
<dependency id='NHibernate' version='[3.3.1.4000,4.0)' />
13+
</dependencies>
1414
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1515
<description>Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate.</description>
1616
<summary>Fluent NHibernate provides a convenient way to configure NHibernate - no XML involved.</summary>
17-
<tags>orm dal nhibernate conventions</tags>
17+
<tags>orm dal nhibernate conventions</tags>
1818
<language>en-US</language>
1919
</metadata>
2020
<files>

tools/nuget/NuGet.exe

1.27 MB
Binary file not shown.

0 commit comments

Comments
 (0)