From 4e669c5091eccd842288b3d9e4f060400f2e9045 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 8 Feb 2017 22:09:06 +0100 Subject: [PATCH] Preparations for NuGet push --- .gitignore | 3 ++ GitVersion.yml | 6 ++++ Publish.ps1 | 28 +++++++++++++++++++ Tapeti.Flow.SQL/Properties/AssemblyInfo.cs | 13 --------- Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj | 4 +-- Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec | 16 +++++++++++ Tapeti.Flow/Properties/AssemblyInfo.cs | 13 --------- Tapeti.Flow/Tapeti.Flow.csproj | 4 +-- Tapeti.Flow/Tapeti.Flow.nuspec | 16 +++++++++++ .../Properties/AssemblyInfo.cs | 17 ++--------- .../Tapeti.SimpleInjector.csproj | 8 +++--- .../Tapeti.SimpleInjector.nuspec | 16 +++++++++++ Tapeti.SimpleInjector/packages.config | 2 +- Tapeti/Properties/AssemblyInfo.cs | 13 --------- Tapeti/Tapeti.csproj | 11 +++++--- Tapeti/Tapeti.nuspec | 16 +++++++++++ Test/Test.csproj | 4 +-- Test/packages.config | 2 +- UNLICENSE | 24 ++++++++++++++++ 19 files changed, 146 insertions(+), 70 deletions(-) create mode 100644 GitVersion.yml create mode 100644 Publish.ps1 create mode 100644 Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec create mode 100644 Tapeti.Flow/Tapeti.Flow.nuspec create mode 100644 Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec create mode 100644 Tapeti/Tapeti.nuspec create mode 100644 UNLICENSE diff --git a/.gitignore b/.gitignore index 193e5b0..ddbeb74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ .vs/ bin/ obj/ +lib/ packages/ *.user +.nuget.apikey +publish/ diff --git a/GitVersion.yml b/GitVersion.yml new file mode 100644 index 0000000..7989fe4 --- /dev/null +++ b/GitVersion.yml @@ -0,0 +1,6 @@ +mode: ContinuousDeployment +branches: + master: + mode: ContinuousDelivery +ignore: + sha: [] diff --git a/Publish.ps1 b/Publish.ps1 new file mode 100644 index 0000000..723d7aa --- /dev/null +++ b/Publish.ps1 @@ -0,0 +1,28 @@ +New-Item -Path publish -Type directory -Force | Out-Null + +$version = GitVersion.exe | ConvertFrom-Json +$nugetkey = Get-Content .nuget.apikey + + +Write-Host "Publishing version $($version.NuGetVersion) using API key $($nugetkey)"-Foreground Cyan + + +Write-Host "Packing Tapeti.csproj" -Foreground Blue +NuGet.exe pack Tapeti\Tapeti.csproj -OutputDir publish -Version $version.NuGetVersion + +Write-Host "Packing Tapeti.Flow.csproj" -Foreground Blue +NuGet.exe pack Tapeti.Flow\Tapeti.Flow.csproj -OutputDir publish -Version $version.NuGetVersion + +Write-Host "Packing Tapeti.SimpleInjector.csproj" -Foreground Blue +NuGet.exe pack Tapeti.SimpleInjector\Tapeti.SimpleInjector.csproj -OutputDir publish -Version $version.NuGetVersion + + + +Write-Host "Pushing Tapeti.csproj" -Foreground Blue +NuGet.exe push publish\X2Software.Tapeti.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package + +Write-Host "Pushing Tapeti.Flow.csproj" -Foreground Blue +NuGet.exe push publish\X2Software.Tapeti.Flow.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package + +Write-Host "Pushing Tapeti.SimpleInjector.csproj" -Foreground Blue +NuGet.exe push publish\X2Software.Tapeti.SimpleInjector.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package diff --git a/Tapeti.Flow.SQL/Properties/AssemblyInfo.cs b/Tapeti.Flow.SQL/Properties/AssemblyInfo.cs index 5dce38b..a949957 100644 --- a/Tapeti.Flow.SQL/Properties/AssemblyInfo.cs +++ b/Tapeti.Flow.SQL/Properties/AssemblyInfo.cs @@ -21,16 +21,3 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("6de7b122-eb6a-46b8-aeaf-f84dde18f9c7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj index 1549148..dec2c7b 100644 --- a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj +++ b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + lib\net46\ DEBUG;TRACE prompt 4 @@ -25,7 +25,7 @@ pdbonly true - bin\Release\ + lib\net46\ TRACE prompt 4 diff --git a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec new file mode 100644 index 0000000..22ac4c0 --- /dev/null +++ b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec @@ -0,0 +1,16 @@ + + + + X2Software.Tapeti.Flow.SQL + $version$ + $title$ + Mark van Renswoude + Mark van Renswoude + https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE + https://git.x2software.net/pub/tapeti + false + SQL backing repository for the Tapeti Flow package + + rabbitmq tapeti sql + + \ No newline at end of file diff --git a/Tapeti.Flow/Properties/AssemblyInfo.cs b/Tapeti.Flow/Properties/AssemblyInfo.cs index 91c0d83..29fc76f 100644 --- a/Tapeti.Flow/Properties/AssemblyInfo.cs +++ b/Tapeti.Flow/Properties/AssemblyInfo.cs @@ -20,16 +20,3 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("f84ad920-d5a1-455d-aed5-2542b3a47b85")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Tapeti.Flow/Tapeti.Flow.csproj b/Tapeti.Flow/Tapeti.Flow.csproj index d2aab1d..6ca628d 100644 --- a/Tapeti.Flow/Tapeti.Flow.csproj +++ b/Tapeti.Flow/Tapeti.Flow.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + lib\net46\ DEBUG;TRACE prompt 4 @@ -25,7 +25,7 @@ pdbonly true - bin\Release\ + lib\net46\ TRACE prompt 4 diff --git a/Tapeti.Flow/Tapeti.Flow.nuspec b/Tapeti.Flow/Tapeti.Flow.nuspec new file mode 100644 index 0000000..6790a44 --- /dev/null +++ b/Tapeti.Flow/Tapeti.Flow.nuspec @@ -0,0 +1,16 @@ + + + + X2Software.Tapeti.Flow + $version$ + $title$ + Menno van Lavieren, Mark van Renswoude + Mark van Renswoude + https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE + https://git.x2software.net/pub/tapeti + false + Flow extension for Tapeti + + rabbitmq tapeti flow + + \ No newline at end of file diff --git a/Tapeti.SimpleInjector/Properties/AssemblyInfo.cs b/Tapeti.SimpleInjector/Properties/AssemblyInfo.cs index 06f8dc0..13e1035 100644 --- a/Tapeti.SimpleInjector/Properties/AssemblyInfo.cs +++ b/Tapeti.SimpleInjector/Properties/AssemblyInfo.cs @@ -7,9 +7,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("Tapeti.SimpleInjector")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard Company")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Tapeti.SimpleInjector")] -[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2016")] +[assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -20,16 +20,3 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("d7ec6f86-eb3b-49c3-8fe7-6e8c1bb413a6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Tapeti.SimpleInjector/Tapeti.SimpleInjector.csproj b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.csproj index 9056d58..d329ad6 100644 --- a/Tapeti.SimpleInjector/Tapeti.SimpleInjector.csproj +++ b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + lib\net46\ DEBUG;TRACE prompt 4 @@ -25,14 +25,14 @@ pdbonly true - bin\Release\ + lib\net46\ TRACE prompt 4 - - ..\packages\SimpleInjector.3.2.7\lib\net45\SimpleInjector.dll + + ..\packages\SimpleInjector.3.3.2\lib\net45\SimpleInjector.dll True diff --git a/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec new file mode 100644 index 0000000..9da5b38 --- /dev/null +++ b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec @@ -0,0 +1,16 @@ + + + + X2Software.Tapeti.SimpleInjector + $version$ + $title$ + Mark van Renswoude + Mark van Renswoude + https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE + https://git.x2software.net/pub/tapeti + false + SimpleInjector integration package for Tapeti + + rabbitmq tapeti simpleinjector + + \ No newline at end of file diff --git a/Tapeti.SimpleInjector/packages.config b/Tapeti.SimpleInjector/packages.config index 40ad547..f9d28f9 100644 --- a/Tapeti.SimpleInjector/packages.config +++ b/Tapeti.SimpleInjector/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/Tapeti/Properties/AssemblyInfo.cs b/Tapeti/Properties/AssemblyInfo.cs index 1336875..a43ad5a 100644 --- a/Tapeti/Properties/AssemblyInfo.cs +++ b/Tapeti/Properties/AssemblyInfo.cs @@ -20,16 +20,3 @@ using System.Runtime.InteropServices; // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("8ab4fd33-4aaa-465c-8579-9db3f3b23813")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Tapeti/Tapeti.csproj b/Tapeti/Tapeti.csproj index 223fdba..124dcb3 100644 --- a/Tapeti/Tapeti.csproj +++ b/Tapeti/Tapeti.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + lib\net46\ DEBUG;TRACE prompt 4 @@ -25,18 +25,18 @@ pdbonly true - bin\Release\ + lib\net46\ TRACE prompt 4 - packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True - packages\RabbitMQ.Client.4.1.1\lib\net451\RabbitMQ.Client.dll + ..\packages\RabbitMQ.Client.4.1.1\lib\net451\RabbitMQ.Client.dll True @@ -97,6 +97,9 @@ + + Always + diff --git a/Tapeti/Tapeti.nuspec b/Tapeti/Tapeti.nuspec new file mode 100644 index 0000000..045367c --- /dev/null +++ b/Tapeti/Tapeti.nuspec @@ -0,0 +1,16 @@ + + + + X2Software.Tapeti + $version$ + $title$ + Mark van Renswoude + Mark van Renswoude + https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE + https://git.x2software.net/pub/tapeti + false + Controller-based framework for RabbitMQ microservice architectures + + rabbitmq tapeti + + \ No newline at end of file diff --git a/Test/Test.csproj b/Test/Test.csproj index 28c333a..d21d19d 100644 --- a/Test/Test.csproj +++ b/Test/Test.csproj @@ -34,8 +34,8 @@ 4 - - ..\packages\SimpleInjector.3.2.7\lib\net45\SimpleInjector.dll + + ..\packages\SimpleInjector.3.3.2\lib\net45\SimpleInjector.dll True diff --git a/Test/packages.config b/Test/packages.config index 5f610fe..f9d28f9 100644 --- a/Test/packages.config +++ b/Test/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 0000000..00d2e13 --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file