Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
codeyu committed Oct 3, 2017
1 parent c8b2b15 commit fc6555c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
9 changes: 2 additions & 7 deletions Build.ps1
Expand Up @@ -26,13 +26,8 @@ if(Test-Path .\src\Hangfire.LiteDB\artifacts) { Remove-Item .\src\Hangfire.LiteD

exec { & dotnet restore }

$tag = $(git tag -l --points-at HEAD)
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
$suffix = @{ $true = ""; $false = "ci-$revision"}[$tag -ne $NULL -and $revision -ne "local"]
$commitHash = $(git rev-parse --short HEAD)
$buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]

exec { & dotnet build Hangfire.LiteDB.sln -c Release --version-suffix=$buildSuffix -v q /nologo }
exec { & dotnet build Hangfire.LiteDB.sln -c Release -v q /nologo }

Push-Location -Path .\test\Hangfire.LiteDB.Test

Expand All @@ -51,4 +46,4 @@ foreach ($sample in $samples) {
}
#>

exec { & dotnet pack .\src\Hangfire.LiteDB\Hangfire.LiteDB.csproj -c Release -o .\artifacts --include-symbols --no-build --version-suffix=$suffix }
exec { & dotnet pack .\src\Hangfire.LiteDB\Hangfire.LiteDB.csproj -c Release -o .\artifacts --include-symbols --no-build }
4 changes: 2 additions & 2 deletions samples/MvcSample/MvcSample.csproj
Expand Up @@ -11,10 +11,10 @@
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.2.0" />
<PackageReference Include="HangFire.Autofac" Version="2.3.1" />
<PackageReference Include="Hangfire.Console" Version="1.3.4" />
<PackageReference Include="Hangfire.Core" Version="1.6.15" />
<PackageReference Include="Hangfire.Core" Version="1.6.17" />
<PackageReference Include="Hangfire.RecurringJobExtensions" Version="1.1.6" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="HangFire" Version="1.6.15" />
<PackageReference Include="HangFire" Version="1.6.17" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Hangfire.LiteDB/Hangfire.LiteDB.csproj
Expand Up @@ -36,8 +36,8 @@
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HangFire.Core" Version="1.6.15" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
<PackageReference Include="HangFire.Core" Version="1.6.17" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="LiteDB" Version="3.1.4" />
</ItemGroup>
</Project>

0 comments on commit fc6555c

Please sign in to comment.