Skip to content

Commit 1ea9a82

Browse files
author
Jos Hickson
authored
Merge pull request #4 from wintoncode/master
Update to latest WintonCode master
2 parents da40ef0 + 218369b commit 1ea9a82

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Build Status](https://travis-ci.org/wintoncode/Winton.Extensions.Threading.Actor.svg?branch=master)](https://travis-ci.org/wintoncode/Winton.Extensions.Threading.Actor)
44
[![Build status](https://ci.appveyor.com/api/projects/status/nddtjsmqktd5dggu/branch/master?svg=true)](https://ci.appveyor.com/project/wintoncode/winton-extensions-threading-actor/branch/master)
5+
[![NuGet version](https://img.shields.io/nuget/v/Winton.Extensions.Threading.Actor.svg)](https://www.nuget.org/packages/Winton.Extensions.Threading.Actor)
6+
[![NuGet version](https://img.shields.io/nuget/vpre/Winton.Extensions.Threading.Actor.svg)](https://www.nuget.org/packages/Winton.Extensions.Threading.Actor)
57

68
A lightweight implementation of the actor pattern designed to integrate with C#'s `async`/`await` keywords.
79
It is a richer version of the implementation outlined on [Winton's Tech Blog](https://tech.winton.com/blog/2017/03/a-tpl-actor-pattern).
@@ -45,7 +47,7 @@ The following platforms are supported:
4547

4648
## Installation
4749

48-
The easiest way to install this library is to add a NuGet dependency on `Winton.Extensions.Threading.Actor` to your
50+
The easiest way to install this library is to add a NuGet dependency on [`Winton.Extensions.Threading.Actor`](https://www.nuget.org/packages/Winton.Extensions.Threading.Actor) to your
4951
library.
5052

5153
## Building

etc/scripts/write_version_targets.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,19 @@ version_targets=$script_dir/../../Version.targets
2525

2626
file_version=$($script_dir/calculate_file_version.sh $commitish)
2727
echo "File version : $file_version"
28+
2829
assembly_version=$($script_dir/calculate_assembly_version.sh $commitish)
2930
echo "Assembly version: $assembly_version"
31+
3032
version_prefix=${file_version%%-*}
3133
echo "Version prefix : $version_prefix"
32-
version_suffix=${file_version#*-}
34+
35+
if [ "$version_prefix" == "$file_version" ]; then
36+
version_suffix="";
37+
else
38+
version_suffix=${file_version#*-};
39+
fi;
40+
3341
echo "Version suffix : $version_suffix"
3442

3543
cat > $version_targets <<EOF

0 commit comments

Comments
 (0)