diff --git a/.gitignore b/.gitignore index 2e1e7eb..140be88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin/ obj/ .vs +_pub/ diff --git a/README.md b/README.md index f908b7c..0158dec 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Distributed Transactions for MSSQL servers in .NET Core Windows +# Distributed Transactions for MSSQL in .NET Core Windows [![NuGet](https://img.shields.io/nuget/v/Softwarehelden.Transactions.Oletx.svg)](https://www.nuget.org/packages/Softwarehelden.Transactions.Oletx) diff --git a/Softwarehelden.Transactions.Oletx.csproj b/Softwarehelden.Transactions.Oletx.csproj index 7677658..d0f4b89 100644 --- a/Softwarehelden.Transactions.Oletx.csproj +++ b/Softwarehelden.Transactions.Oletx.csproj @@ -24,4 +24,11 @@ + + + + diff --git a/pack.ps1 b/pack.ps1 new file mode 100644 index 0000000..fd90dec --- /dev/null +++ b/pack.ps1 @@ -0,0 +1,13 @@ +param ( + [Parameter(Mandatory=$true)] + [string]$Version +) + +& dotnet pack .\Softwarehelden.Transactions.Oletx.sln ` + -c Release ` + -o .\_pub ` + -p:Version=$Version ` + -p:SignAssembly=True ` + -p:AssemblyOriginatorKeyFile=$env:SIGNING_ASSEMBLY_KEY_FILE ` + -p:SigningCertificateThumbprint=$env:SIGNING_CERTIFICATE_THUMBPRINT ` + -p:SigningTimestampUrl=$env:SIGNING_TIMESTAMP_URL \ No newline at end of file