Skip to content

Commit 4c3153f

Browse files
author
Vytautas Kasparavičius
committed
Updated build script and bumped version.
1 parent 6424cf4 commit 4c3153f

File tree

7 files changed

+57
-45
lines changed

7 files changed

+57
-45
lines changed

nuspecs/Hangfire.PostgreSql.nuspec

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>Hangfire.PostgreSql</id>
5-
<version>1.4.3</version>
5+
<version>1.4.4</version>
66
<title>Hangfire PostgreSql Storage</title>
77
<authors>Frank Hommers and others (Burhan Irmikci (barhun), Zachary Sims(zsims), kgamecarter, Stafford Williams (staff0rd), briangweber, Viktor Svyatokha (ahydrax), Christopher Dresel (Dresel), Ben Herila (bherila), Vytautas Kasparavičius (vytautask)</authors>
88
<owners>frankhommers</owners>
@@ -15,13 +15,15 @@
1515
<tags>Hangfire PostgreSql Postgres</tags>
1616
<releaseNotes>
1717
https://github.com/frankhommers/Hangfire.PostgreSql/releases
18-
1.4.3
19-
* Implemented distributed lock timeout (#44) (https://github.com/frankhommers/Hangfire.PostgreSql/issues/44)
18+
1.4.4
19+
* Compiles with .net core #42 (https://github.com/frankhommers/Hangfire.PostgreSql/commit/24cdba20dcd9e44e33a367207348e30573d353e9). Thanks to zhongzf
20+
* Added IGlobalConfiguration overloads to UsePostgreSqlStorage #47 (https://github.com/frankhommers/Hangfire.PostgreSql/pull/47). Thanks to ericgreenmix
21+
* Updated to use Hangfire 1.6.6, Npgsql 3.1.8
2022
</releaseNotes>
2123
<dependencies>
22-
<dependency id="Hangfire.Core" version="1.5.7" />
23-
<dependency id="Dapper" version="1.42" />
24-
<dependency id="Npgsql" version="3.1.3" />
24+
<dependency id="Hangfire.Core" version="1.6.6" />
25+
<dependency id="Dapper" version="1.50.2" />
26+
<dependency id="Npgsql" version="3.1.8" />
2527
</dependencies>
2628
</metadata>
2729
<files>

psake-project.ps1

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Task Test -Depends Compile -Description "Run unit and integration tests." {
3636

3737
Task Merge -Depends Test -Description "Run ILMerge /internalize to merge assemblies." {
3838
# Remove `*.pdb` file to be able to prepare NuGet symbol packages.
39-
Remove-Item ((Get-SrcOutputDir "Hangfire.PostgreSql") + "\Dapper.pdb")
4039

4140
Merge-Assembly "Hangfire.PostgreSql" @("Dapper")
4241
}
@@ -45,7 +44,6 @@ Task Collect -Depends Merge -Description "Copy all artifacts to the build folder
4544
Collect-Assembly "Hangfire.PostgreSql" "Net45"
4645

4746
Collect-Content "content\readme.txt"
48-
Collect-Tool "src\Hangfire.PostgreSql\Install.v3.sql"
4947
}
5048

5149
Task Pack -Depends Collect -Description "Create NuGet packages and archive files." {

src/Hangfire.PostgreSql.NetCore/project.json

+19-13
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
11
{
2-
"version": "1.4.3-*",
2+
"version": "1.4.4-*",
33
"buildOptions": {
44
"embed": "*.sql",
55
"define": [ "NETCORE1" ]
66
},
7-
"dependencies": {
8-
"Dapper": "1.50.2",
9-
"Hangfire.AspNetCore": "1.6.6",
10-
"Hangfire.Core": "1.6.6",
11-
"Microsoft.NETCore.App": {
12-
"version": "1.0.1-*",
13-
"type": "platform"
14-
},
15-
"Newtonsoft.Json": "9.0.1",
16-
"Npgsql": "3.1.8",
17-
"System.Runtime.Serialization.Formatters": "4.0.0-rc3-24212-01"
18-
},
7+
"dependencies": {
8+
"Dapper": "1.50.2",
9+
"Hangfire.AspNetCore": "1.6.6",
10+
"Hangfire.Core": "1.6.6",
11+
"Microsoft.NETCore.App": {
12+
"version": "1.0.1-*",
13+
"type": "platform"
14+
},
15+
"Newtonsoft.Json": "9.0.1",
16+
"Npgsql": "3.1.8",
17+
"System.Runtime.Serialization.Formatters": "4.0.0-rc3-24212-01"
18+
},
19+
"scripts": {
20+
"postcompile": [
21+
"dotnet pack --no-build --configuration %compile:Release%"
22+
]
23+
},
1924
"frameworks": {
2025
"netcoreapp1.0": {
2126
"dependencies": {
27+
2228
}
2329
}
2430
}

src/Hangfire.PostgreSql/Hangfire.PostgreSql.csproj

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@
1414
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
1515
<RestorePackages>true</RestorePackages>
1616
<TargetFrameworkProfile />
17-
<SccProjectName>SAK</SccProjectName>
18-
<SccLocalPath>SAK</SccLocalPath>
19-
<SccAuxPath>SAK</SccAuxPath>
20-
<SccProvider>SAK</SccProvider>
17+
<SccProjectName>
18+
</SccProjectName>
19+
<SccLocalPath>
20+
</SccLocalPath>
21+
<SccAuxPath>
22+
</SccAuxPath>
23+
<SccProvider>
24+
</SccProvider>
2125
</PropertyGroup>
2226
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2327
<DebugSymbols>true</DebugSymbols>

src/SharedAssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
[assembly: ComVisible(false)]
2020
[assembly: CLSCompliant(false)]
2121

22-
[assembly: AssemblyVersion("1.4.3")]
23-
[assembly: AssemblyInformationalVersion("1.4.3")]
22+
[assembly: AssemblyVersion("1.4.4")]
23+
[assembly: AssemblyInformationalVersion("1.4.4")]
2424
[assembly: AssemblyFileVersion("1.0.0.0")]

tests/Hangfire.PostgreSql.NetCore.Tests/Properties/AssemblyInfo.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
[assembly: AssemblyTitle("Hangfire.PostgreSql.Tests")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
11+
[assembly: AssemblyCompany("Frank Hommers")]
1212
[assembly: AssemblyProduct("Hangfire.PostgreSql.Tests")]
13-
[assembly: AssemblyCopyright("Copyright © 2014")]
13+
[assembly: AssemblyCopyright("Copyright © 2014 - 2016")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("1.4.4")]
36+
[assembly: AssemblyInformationalVersion("1.4.4")]
3637
[assembly: AssemblyFileVersion("1.0.0.0")]

tests/Hangfire.PostgreSql.NetCore.Tests/project.json

+16-15
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@
22
"title": "Hangfire.PostgreSql.NetCore",
33
"version": "1.0.0-*",
44
"testRunner": "xunit",
5-
"dependencies": {
6-
"Castle.Core": "4.0.0-beta001",
7-
"Dapper": "1.50.2",
8-
"xunit": "2.2.0-*",
9-
"dotnet-test-xunit": "2.2.0-preview2-*",
10-
"Hangfire.PostgreSql.NetCore": "1.4.3",
11-
"Moq": "4.6.36-alpha",
12-
"Npgsql": "3.1.8",
13-
"Microsoft.Extensions.Testing.Abstractions": "1.0.0-preview2-003121",
14-
"Microsoft.NETCore.App": {
15-
"version": "1.0.1-*",
16-
"type": "platform"
17-
}
18-
},
5+
"dependencies": {
6+
"Castle.Core": "4.0.0-beta001",
7+
"Dapper": "1.50.2",
8+
"xunit": "2.2.0-*",
9+
"dotnet-test-xunit": "2.2.0-preview2-*",
10+
"Hangfire.PostgreSql.NetCore": "1.4.4",
11+
"Moq": "4.6.36-alpha",
12+
"Npgsql": "3.1.8",
13+
"Microsoft.Extensions.Testing.Abstractions": "1.0.0-preview2-003121",
14+
"Microsoft.NETCore.App": {
15+
"version": "1.0.1-*",
16+
"type": "platform"
17+
}
18+
},
1919
"buildOptions": {
2020
"embed": [
2121
"Clean.sql"
2222
],
23-
"define": [ "NETCORE1" ]
23+
"define": ["NETCORE1"]
2424
},
2525
"frameworks": {
2626
"netcoreapp1.0": {
2727
"dependencies": {
28+
2829
}
2930
}
3031
}

0 commit comments

Comments
 (0)