Skip to content

Commit 0bc1631

Browse files
committed
bump version
1 parent e183903 commit 0bc1631

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

ReleaseNotes/1.8.1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Workflow Core 1.8.1
2+
3+
Thank you to @MarioAndron
4+
5+
This release adds a feature where a DI scope is created around the construction of steps that are registered with your IoC container.
6+
This enables steps to consume services registered as `scoped`.

WorkflowCore.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReleaseNotes", "ReleaseNote
9696
ReleaseNotes\1.6.9.md = ReleaseNotes\1.6.9.md
9797
ReleaseNotes\1.7.0.md = ReleaseNotes\1.7.0.md
9898
ReleaseNotes\1.8.0.md = ReleaseNotes\1.8.0.md
99+
ReleaseNotes\1.8.1.md = ReleaseNotes\1.8.1.md
99100
EndProjectSection
100101
EndProject
101102
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Sample14", "src\samples\WorkflowCore.Sample14\WorkflowCore.Sample14.csproj", "{6BC66637-B42A-4334-ADFB-DBEC9F29D293}"
@@ -130,7 +131,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Providers.Elas
130131
EndProject
131132
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Tests.Elasticsearch", "test\WorkflowCore.Tests.Elasticsearch\WorkflowCore.Tests.Elasticsearch.csproj", "{44644716-0CE8-4837-B189-AB65AE2106AA}"
132133
EndProject
133-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkflowCore.Tests.Redis", "test\WorkflowCore.Tests.Redis\WorkflowCore.Tests.Redis.csproj", "{78217204-B873-40B9-8875-E3925B2FBCEC}"
134+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Tests.Redis", "test\WorkflowCore.Tests.Redis\WorkflowCore.Tests.Redis.csproj", "{78217204-B873-40B9-8875-E3925B2FBCEC}"
134135
EndProject
135136
Global
136137
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/WorkflowCore/WorkflowCore.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1616
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
1717
<Description>Workflow Core is a light weight workflow engine targeting .NET Standard.</Description>
18-
<Version>1.8.0</Version>
19-
<AssemblyVersion>1.8.0.0</AssemblyVersion>
20-
<FileVersion>1.8.0.0</FileVersion>
18+
<Version>1.8.1</Version>
19+
<AssemblyVersion>1.8.1.0</AssemblyVersion>
20+
<FileVersion>1.8.1.0</FileVersion>
2121
<PackageReleaseNotes></PackageReleaseNotes>
2222
<PackageIconUrl>https://github.com/danielgerlag/workflow-core/raw/master/src/logo.png</PackageIconUrl>
2323
</PropertyGroup>

src/providers/WorkflowCore.Providers.AWS/Services/DynamoLockProvider.cs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,14 @@ public async Task<bool> AcquireLock(string Id, CancellationToken cancellationTok
7777

7878
public async Task ReleaseLock(string Id)
7979
{
80-
if (_mutex.WaitOne())
80+
_mutex.WaitOne();
81+
try
8182
{
82-
try
83-
{
84-
_localLocks.Remove(Id);
85-
}
86-
finally
87-
{
88-
_mutex.Set();
89-
}
83+
_localLocks.Remove(Id);
84+
}
85+
finally
86+
{
87+
_mutex.Set();
9088
}
9189

9290
try

0 commit comments

Comments
 (0)