AppVeyor build implementation
This commit is contained in:
parent
d549faf7b3
commit
e2136c674b
55
Publish.ps1
55
Publish.ps1
@ -1,55 +0,0 @@
|
|||||||
param([switch]$nopush)
|
|
||||||
|
|
||||||
|
|
||||||
function pack
|
|
||||||
{
|
|
||||||
param([string]$project)
|
|
||||||
|
|
||||||
Write-Host "Packing $($project).csproj" -Foreground Blue
|
|
||||||
NuGet.exe pack "$($project)\$($project).csproj" -Build -OutputDir publish -Version "$($version.NuGetVersion)" -Properties depversion="$($version.NuGetVersion)"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function push
|
|
||||||
{
|
|
||||||
param([string]$project)
|
|
||||||
|
|
||||||
Write-Host "Pushing $($project).csproj" -Foreground Blue
|
|
||||||
NuGet.exe push "publish\X2Software.$($project).$($version.NuGetVersion).nupkg" -apikey "$($nugetkey)" -Source https://www.nuget.org/api/v2/package
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$projects = @(
|
|
||||||
"Tapeti.Annotations",
|
|
||||||
"Tapeti",
|
|
||||||
"Tapeti.DataAnnotations",
|
|
||||||
"Tapeti.Flow",
|
|
||||||
"Tapeti.SimpleInjector"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
New-Item -Path publish -Type directory -Force | Out-Null
|
|
||||||
|
|
||||||
$version = GitVersion.exe | Out-String | ConvertFrom-Json
|
|
||||||
$nugetkey = Get-Content .nuget.apikey
|
|
||||||
|
|
||||||
|
|
||||||
Write-Host "Publishing version $($version.NuGetVersion) using API key $($nugetkey)"-Foreground Cyan
|
|
||||||
|
|
||||||
foreach ($project in $projects)
|
|
||||||
{
|
|
||||||
pack($project)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if ($nopush -eq $false)
|
|
||||||
{
|
|
||||||
foreach ($project in $projects)
|
|
||||||
{
|
|
||||||
push($project)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Write-Host "Skipping push" -Foreground Blue
|
|
||||||
}
|
|
11
README.md
11
README.md
@ -6,3 +6,14 @@ The documentation for Tapeti is available on Read the Docs:
|
|||||||
|
|
||||||
[Master branch](http://tapeti.readthedocs.io/en/stable/)<br />
|
[Master branch](http://tapeti.readthedocs.io/en/stable/)<br />
|
||||||
[![Documentation Status](https://readthedocs.org/projects/tapeti/badge/?version=stable)](http://tapeti.readthedocs.io/en/stable/?badge=stable)
|
[![Documentation Status](https://readthedocs.org/projects/tapeti/badge/?version=stable)](http://tapeti.readthedocs.io/en/stable/?badge=stable)
|
||||||
|
|
||||||
|
|
||||||
|
## Builds
|
||||||
|
Builds are automatically run using AppVeyor, with the resulting packages being pushed to NuGet.
|
||||||
|
|
||||||
|
|
||||||
|
Latest build
|
||||||
|
[![Build status](https://ci.appveyor.com/api/projects/status/p5w9yr4xlhvoy02i?svg=true)](https://ci.appveyor.com/project/MvRens/tapeti)
|
||||||
|
|
||||||
|
Master build
|
||||||
|
[![Build status](https://ci.appveyor.com/api/projects/status/p5w9yr4xlhvoy02i/branch/master?svg=true)](https://ci.appveyor.com/project/MvRens/tapeti/branch/master)
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti.Annotations</id>
|
<id>X2Software.Tapeti.Annotations</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti Annotations</title>
|
||||||
<authors>Mark van Renswoude</authors>
|
<authors>Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.Annotations.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.Annotations.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>Annotations for Tapeti</description>
|
<description>Annotations for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
|
@ -3,18 +3,18 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti.DataAnnotations</id>
|
<id>X2Software.Tapeti.DataAnnotations</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti DataAnnotations</title>
|
||||||
<authors>Mark van Renswoude</authors>
|
<authors>Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.DataAnnotations.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.DataAnnotations.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>DataAnnotations validation extension for Tapeti</description>
|
<description>DataAnnotations validation extension for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti dataannotations</tags>
|
<tags>rabbitmq tapeti dataannotations</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti" version="[$version$]" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -3,19 +3,19 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti.Flow.SQL</id>
|
<id>X2Software.Tapeti.Flow.SQL</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti Flow SQL</title>
|
||||||
<authors>Mark van Renswoude</authors>
|
<authors>Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.Flow.SQL.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.Flow.SQL.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>SQL backing repository for the Tapeti Flow package</description>
|
<description>SQL backing repository for the Tapeti Flow package</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti sql</tags>
|
<tags>rabbitmq tapeti sql</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti" version="[$version$]" />
|
||||||
<dependency id="X2Software.Tapeti.Flow" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti.Flow" version="[$version$]" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -3,19 +3,19 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti.Flow</id>
|
<id>X2Software.Tapeti.Flow</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti Flow</title>
|
||||||
<authors>Menno van Lavieren, Mark van Renswoude</authors>
|
<authors>Menno van Lavieren, Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.Flow.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.Flow.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>Flow extension for Tapeti</description>
|
<description>Flow extension for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti flow</tags>
|
<tags>rabbitmq tapeti flow</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti" version="[$version$]" />
|
||||||
<dependency id="X2Software.Tapeti.Annotations" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti.Annotations" version="[$version$]" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -3,18 +3,18 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti.SimpleInjector</id>
|
<id>X2Software.Tapeti.SimpleInjector</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti SimpleInjector</title>
|
||||||
<authors>Mark van Renswoude</authors>
|
<authors>Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.SimpleInjector.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.SimpleInjector.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>SimpleInjector integration package for Tapeti</description>
|
<description>SimpleInjector integration package for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti simpleinjector</tags>
|
<tags>rabbitmq tapeti simpleinjector</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti" version="[$version$]" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -3,18 +3,18 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>X2Software.Tapeti</id>
|
<id>X2Software.Tapeti</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<title>$title$</title>
|
<title>Tapeti</title>
|
||||||
<authors>Mark van Renswoude</authors>
|
<authors>Mark van Renswoude</authors>
|
||||||
<owners>Mark van Renswoude</owners>
|
<owners>Mark van Renswoude</owners>
|
||||||
<licenseUrl>https://git.x2software.net/pub/tapeti/raw/master/UNLICENSE</licenseUrl>
|
<licenseUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/UNLICENSE</licenseUrl>
|
||||||
<projectUrl>https://git.x2software.net/pub/tapeti</projectUrl>
|
<projectUrl>https://github.com/MvRens/Tapeti</projectUrl>
|
||||||
<iconUrl>https://git.x2software.net/pub/tapeti/raw/master/resources/icons/Tapeti.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/MvRens/Tapeti/master/resources/icons/Tapeti.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>Controller-based framework for RabbitMQ microservice architectures</description>
|
<description>Controller-based framework for RabbitMQ microservice architectures</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti</tags>
|
<tags>rabbitmq tapeti</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency id="X2Software.Tapeti.Annotations" version="[$depversion$]" />
|
<dependency id="X2Software.Tapeti.Annotations" version="[$version$]" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
40
appveyor.yml
Normal file
40
appveyor.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
image: Visual Studio 2015
|
||||||
|
|
||||||
|
install:
|
||||||
|
- choco install gitversion.portable -pre -y
|
||||||
|
|
||||||
|
before_build:
|
||||||
|
- nuget restore
|
||||||
|
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- cmd: ECHO nuget pack Tapeti\Tapeti.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: nuget pack Tapeti\Tapeti.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: appveyor PushArtifact "Tapeti.%GitVersion_NuGetVersion%.nupkg"
|
||||||
|
- cmd: nuget pack Tapeti.Annotations\Tapeti.Annotations.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: appveyor PushArtifact "Tapeti.Annotations.%GitVersion_NuGetVersion%.nupkg"
|
||||||
|
- cmd: nuget pack Tapeti.DataAnnotations\Tapeti.DataAnnotations.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: appveyor PushArtifact "Tapeti.DataAnnotations.%GitVersion_NuGetVersion%.nupkg"
|
||||||
|
- cmd: nuget pack Tapeti.Flow\Tapeti.Flow.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: appveyor PushArtifact "Tapeti.Flow.%GitVersion_NuGetVersion%.nupkg"
|
||||||
|
- cmd: nuget pack Tapeti.SimpleInjector\Tapeti.SimpleInjector.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"
|
||||||
|
- cmd: appveyor PushArtifact "Tapeti.SimpleInjector.%GitVersion_NuGetVersion%.nupkg"
|
||||||
|
|
||||||
|
assembly_info:
|
||||||
|
patch: false
|
||||||
|
|
||||||
|
build:
|
||||||
|
project: Tapeti.sln
|
||||||
|
|
||||||
|
platform:
|
||||||
|
- Any CPU
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Release
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: NuGet
|
||||||
|
api_key:
|
||||||
|
secure: wEch4shvYGZUNRW0z/Rm8jdKR95lVnzS0QncQg6a0wH4k/Bt6N/B5bs6AidVcyUD
|
||||||
|
skip_symbols: false
|
||||||
|
artifact: /.*\.nupkg/
|
Loading…
Reference in New Issue
Block a user